kolla-ansible/ansible/roles/common/templates/admin-openrc.sh.j2
shaofeng_cheng 24beec2e47 Add OS_REGION_NAME to admin-openrc.sh.j2
Change-Id: I6c769e5231e9d0e327ef6b9928666369d694f5fe
Closes-Bug: #1685692
2017-04-25 09:29:50 +08:00

14 lines
548 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 }}
{% if kolla_enable_tls_external | bool and kolla_external_fqdn_cacert %}
export OS_CACERT={{ kolla_external_fqdn_cacert }}
{% endif %}