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
Guillaume Abrioux 2018-11-15 22:03:28 +01:00 committed by mergify[bot]
parent 3b40e2bc87
commit 62d2ddafd4
1 changed files with 2 additions and 2 deletions

View File

@ -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: