From 62d2ddafd4902f342b1958a2af2f4a2da0f48bc9 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 15 Nov 2018 22:03:28 +0100 Subject: [PATCH] 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 --- roles/ceph-validate/tasks/check_system.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-validate/tasks/check_system.yml b/roles/ceph-validate/tasks/check_system.yml index 1bda37dee..046f83195 100644 --- a/roles/ceph-validate/tasks/check_system.yml +++ b/roles/ceph-validate/tasks/check_system.yml @@ -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: