Bug fix: support kilo's keystone requirement for domain-name, extracts from ENV var

pull/1087/head
Xavier Lange 2017-01-25 14:34:54 -08:00 committed by Brad Beam
parent 27b4e61c9f
commit dd10b8a27c
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ openstack_username: "{{ lookup('env','OS_USERNAME') }}"
openstack_password: "{{ lookup('env','OS_PASSWORD') }}" openstack_password: "{{ lookup('env','OS_PASSWORD') }}"
openstack_region: "{{ lookup('env','OS_REGION_NAME') }}" openstack_region: "{{ lookup('env','OS_REGION_NAME') }}"
openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')|default(lookup('env','OS_PROJECT_ID'),true) }}" openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')|default(lookup('env','OS_PROJECT_ID'),true) }}"
openstack_domain_name: "{{ lookup('env','OS_USER_DOMAIN_NAME') }}"
# Container Linux by CoreOS cloud init config file to define /etc/resolv.conf content # Container Linux by CoreOS cloud init config file to define /etc/resolv.conf content
# for hostnet pods and infra needs # for hostnet pods and infra needs

View File

@ -3,4 +3,5 @@ auth-url={{ openstack_auth_url }}
username={{ openstack_username }} username={{ openstack_username }}
password={{ openstack_password }} password={{ openstack_password }}
region={{ openstack_region }} region={{ openstack_region }}
tenant-id={{ openstack_tenant_id }} tenant-id={{ openstack_tenant_id }}
domain-name={{ openstack_domain_name }}