mirror of https://github.com/ceph/ceph-ansible.git
commit
d2032c92af
|
@ -51,10 +51,16 @@
|
||||||
|
|
||||||
- name: fail on unsupported ansible version
|
- name: fail on unsupported ansible version
|
||||||
fail:
|
fail:
|
||||||
msg: "Ansible version must be >= 1.9, please update!"
|
msg: "Ansible version must be >= 2.3.x, please update!"
|
||||||
when:
|
when:
|
||||||
- ansible_version.major|int == 1
|
- ansible_version.major|int < 2
|
||||||
- ansible_version.minor|int < 9
|
|
||||||
|
- name: fail on unsupported ansible version
|
||||||
|
fail:
|
||||||
|
msg: "Ansible version must be >= 2.3.x, please update!"
|
||||||
|
when:
|
||||||
|
- ansible_version.major|int == 2
|
||||||
|
- ansible_version.minor|int < 3
|
||||||
|
|
||||||
- name: fail if systemd is not present
|
- name: fail if systemd is not present
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue