2e4e60503a
We're duplicating code to build the keystone URLs in nearly every config, where we've already done it in group_vars. Replace the redundancy with a variable that does the same thing. Change-Id: I207d77870e2535c1cdcbc5eaf704f0448ac85a7a
15 lines
595 B
Django/Jinja
15 lines
595 B
Django/Jinja
export OS_PROJECT_DOMAIN_NAME=Default
|
|
export OS_USER_DOMAIN_NAME=Default
|
|
export OS_PROJECT_NAME={{ keystone_admin_project }}
|
|
export OS_TENANT_NAME={{ keystone_admin_project }}
|
|
export OS_USERNAME={{ keystone_admin_user }}
|
|
export OS_PASSWORD={{ keystone_admin_password }}
|
|
export OS_AUTH_URL={{ keystone_admin_url }}/v3
|
|
export OS_INTERFACE=internal
|
|
export OS_IDENTITY_API_VERSION=3
|
|
export OS_REGION_NAME={{ openstack_region_name }}
|
|
export OS_AUTH_PLUGIN=password
|
|
{% if kolla_enable_tls_external | bool and kolla_external_fqdn_cacert %}
|
|
export OS_CACERT={{ kolla_external_fqdn_cacert }}
|
|
{% endif %}
|