Correctly set openstack_domains for ansible >= 2.9
os_keystone_domain_info returns a dict which contains openstack_domains but currently that dict was considered as openstack_domains which is wrong, this patch fixes it. Closes-Bug: #1867608 Change-Id: Ic063facf1f5f87c0e3a01803937a620a9b77d4b5
This commit is contained in:
parent
e4d9c5cbb3
commit
e86977ab48
@ -17,4 +17,8 @@
|
||||
- name: Collect OpenStack Keystone domains infos
|
||||
os_keystone_domain_info:
|
||||
cloud: "{{ tripleo_keystone_resources_cloud_name }}"
|
||||
register: openstack_domains
|
||||
register: domain_result
|
||||
|
||||
- name: Set openstack_domains fact
|
||||
set_fact:
|
||||
openstack_domains: "{{ domain_result.openstack_domains }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user