mirror of https://github.com/ceph/ceph-ansible.git
tests: fail if ansible version is not 2.7
Latest ansible version at the moment is 2.7 We should explicitly require 2.7 only on master branch. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3104/head
parent
62c314e2ba
commit
17ffb792e0
|
@ -67,10 +67,10 @@
|
||||||
|
|
||||||
- name: fail on unsupported ansible version
|
- name: fail on unsupported ansible version
|
||||||
fail:
|
fail:
|
||||||
msg: "Ansible version must be between 2.6.x and 2.7.x!"
|
msg: "Ansible version must be 2.7!"
|
||||||
when:
|
when:
|
||||||
- ansible_version.major|int == 2
|
- ansible_version.major|int != 2
|
||||||
- (ansible_version.minor|int < 6 or ansible_version.minor|int > 7)
|
- ansible_version.minor|int != 7
|
||||||
|
|
||||||
- name: fail if systemd is not present
|
- name: fail if systemd is not present
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue