aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/common/templates/admin-openrc.sh.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/common/templates/admin-openrc.sh.j2')
-rw-r--r--ansible/roles/common/templates/admin-openrc.sh.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/common/templates/admin-openrc.sh.j2 b/ansible/roles/common/templates/admin-openrc.sh.j2
index 7b5a3939b..ef3890043 100644
--- a/ansible/roles/common/templates/admin-openrc.sh.j2
+++ b/ansible/roles/common/templates/admin-openrc.sh.j2
@@ -6,3 +6,6 @@ export OS_USERNAME=admin
export OS_PASSWORD={{ keystone_admin_password }}
export OS_AUTH_URL={{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3
export OS_IDENTITY_API_VERSION=3
+{% if kolla_enable_tls_external | bool and kolla_external_fqdn_cacert %}
+export OS_CACERT={{ kolla_external_fqdn_cacert }}
+{% endif %}