mirror of https://github.com/ceph/ceph-ansible.git
validate: allow stable-3.2 to run with ansible 2.4
Although this is not officially supported, this commit allows `stable-3.2` to run against ansible 2.4. This should ease the transition in RHOSP. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3335/head v3.2.0rc3
parent
3b40e2bc87
commit
62d2ddafd4
|
@ -67,10 +67,10 @@
|
|||
|
||||
- name: fail on unsupported ansible version
|
||||
fail:
|
||||
msg: "Ansible version must be between 2.5.x and 2.6.x!"
|
||||
msg: "Ansible version must be between 2.4.x and 2.6.x!"
|
||||
when:
|
||||
- ansible_version.major|int == 2
|
||||
- (ansible_version.minor|int < 5 or ansible_version.minor|int > 6)
|
||||
- (ansible_version.minor|int < 4 or ansible_version.minor|int > 6)
|
||||
|
||||
- name: fail if systemd is not present
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue