Fixed the condition for gather_domains
https://github.com/ansible/ansible/commit/c91929b2 commits is available since Ansible 2.9.0. For less than 2.9.0 use the gather_domain_older.yaml file. It fixes the centos-8 scenario 2 job. Change-Id: I1ab3502940cb8b619a91521cd4b3102691898063 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
parent
94c4ca66f7
commit
bc5e84a9fe
@ -53,17 +53,17 @@
|
||||
# from OpenStack collections.
|
||||
# In recents version of Ansible, this module was renamed to os_keystone_domain_info.
|
||||
# Which is why we don't use the same module to gather domains infos.
|
||||
- name: Gather all OpenStack domains for Ansible < 2.9.2
|
||||
- name: Gather all OpenStack domains for Ansible < 2.9.0
|
||||
include_tasks: gather_domains_old.yml
|
||||
# See https://github.com/ansible/ansible/commit/c91929b2b302b37af22d785641a7fe704003662a
|
||||
when:
|
||||
- ansible_version.full is version_compare('2.9.2', '<')
|
||||
- ansible_version.full is version_compare('2.9.0', '<')
|
||||
|
||||
- name: Gather all OpenStack domains for Ansible >= 2.9.2
|
||||
- name: Gather all OpenStack domains for Ansible >= 2.9.0
|
||||
include_tasks: gather_domains_new.yml
|
||||
# See https://github.com/ansible/ansible/commit/c91929b2b302b37af22d785641a7fe704003662a
|
||||
when:
|
||||
- ansible_version.full is version_compare('2.9.2', '>=')
|
||||
- ansible_version.full is version_compare('2.9.0', '>=')
|
||||
|
||||
- name: Create Keystone Services
|
||||
include_tasks: services.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user