diff --git a/roles/kubernetes-apps/external_cloud_controller/openstack/defaults/main.yml b/roles/kubernetes-apps/external_cloud_controller/openstack/defaults/main.yml index 441bb2adc..3a749c351 100644 --- a/roles/kubernetes-apps/external_cloud_controller/openstack/defaults/main.yml +++ b/roles/kubernetes-apps/external_cloud_controller/openstack/defaults/main.yml @@ -7,7 +7,7 @@ external_openstack_username: "{{ lookup('env','OS_USERNAME') }}" external_openstack_password: "{{ lookup('env','OS_PASSWORD') }}" external_openstack_region: "{{ lookup('env','OS_REGION_NAME') }}" external_openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')| default(lookup('env','OS_PROJECT_ID'),true) }}" -external_openstack_tenant_name: "{{ lookup('env','OS_TENANT_NAME') }}" +external_openstack_tenant_name: "{{ lookup('env','OS_TENANT_NAME')| default(lookup('env','OS_PROJECT_NAME'),true) }}" external_openstack_domain_name: "{{ lookup('env','OS_USER_DOMAIN_NAME') }}" external_openstack_domain_id: "{{ lookup('env','OS_USER_DOMAIN_ID') }}" external_openstack_cacert: "{{ lookup('env','OS_CACERT') }}"