kolla-ansible/ansible/roles/common/templates/admin-openrc.sh.j2
Paul Bourke b667b64e3a Add OS_AUTH_URL to admin-openrc
gnocchi client requires this, others may also

Change-Id: I848df2e4964958902955f7c72e94e1e64a67bca1
2017-10-06 15:15:15 +01:00

15 lines
579 B
Django/Jinja

export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
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_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 %}