From ec1c47bc5aea625d47fafbe9d07c3cabaf73238f Mon Sep 17 00:00:00 2001 From: Tyler Britten Date: Fri, 27 Jan 2017 10:26:20 -0500 Subject: [PATCH] Updated OpenStack vars to check for tenant_id (v2) and project_id (v3) --- roles/kubernetes/preinstall/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/preinstall/defaults/main.yml b/roles/kubernetes/preinstall/defaults/main.yml index 1515c93ce..8cc15ad1d 100644 --- a/roles/kubernetes/preinstall/defaults/main.yml +++ b/roles/kubernetes/preinstall/defaults/main.yml @@ -24,7 +24,7 @@ openstack_auth_url: "{{ lookup('env','OS_AUTH_URL') }}" openstack_username: "{{ lookup('env','OS_USERNAME') }}" openstack_password: "{{ lookup('env','OS_PASSWORD') }}" openstack_region: "{{ lookup('env','OS_REGION_NAME') }}" -openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID') }}" +openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')|default(lookup('env','OS_PROJECT_ID')) }}" # All clients access each node individually, instead of using a load balancer. etcd_multiaccess: true