add support for openstack trust to cloud provider config

This commit is contained in:
Jonathan Craig
2018-08-20 12:51:25 -04:00
parent 58ee5f1cc9
commit 5bf152886b
2 changed files with 13 additions and 2 deletions

View File

@@ -3,7 +3,11 @@ auth-url="{{ openstack_auth_url }}"
username="{{ openstack_username }}"
password="{{ openstack_password }}"
region="{{ openstack_region }}"
{% if openstack_trust_id is defined and openstack_trust_id != "" %}
trust-id="{{ openstack_trust_id }}"
{% else %}
tenant-id="{{ openstack_tenant_id }}"
{% endif %}
{% if openstack_tenant_name is defined and openstack_tenant_name != "" %}
tenant-name="{{ openstack_tenant_name }}"
{% endif %}