Updated OpenStack vars to check for tenant_id (v2) and project_id (v3)

This commit is contained in:
Tyler Britten 2017-01-27 10:26:20 -05:00
parent 4b1d461ac8
commit ec1c47bc5a

View file

@ -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