mirror of https://github.com/ceph/ceph-ansible.git
Add ansible 2.9 support
This commit adds ansible 2.9 support in addition of 2.8.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit aefba82a2e
)
pull/5113/head
parent
8cc2f8f21e
commit
9d4f90c8b4
|
@ -1,15 +1,15 @@
|
||||||
---
|
---
|
||||||
- name: fail on unsupported ansible version (1.X)
|
- name: fail on unsupported ansible version (1.X)
|
||||||
fail:
|
fail:
|
||||||
msg: "Ansible version must be >= 2.8.x, please update!"
|
msg: "Ansible version must be >= 2.x, please update!"
|
||||||
when: ansible_version.major|int < 2
|
when: ansible_version.major|int < 2
|
||||||
|
|
||||||
- name: fail on unsupported ansible version
|
- name: fail on unsupported ansible version
|
||||||
fail:
|
fail:
|
||||||
msg: "Ansible version must be 2.8!"
|
msg: "Ansible version must be 2.8 or 2.9!"
|
||||||
when:
|
when:
|
||||||
- ansible_version.major|int == 2
|
- ansible_version.major|int == 2
|
||||||
- ansible_version.minor|int != 8
|
- ansible_version.minor|int not in [8, 9]
|
||||||
|
|
||||||
- name: fail on unsupported system
|
- name: fail on unsupported system
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue