From: Guillaume Abrioux Date: Fri, 31 Jan 2020 09:23:20 +0000 (+0100) Subject: validate: allow running ceph-ansible 3.2 against ansible 2.7 X-Git-Tag: v3.2.39~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b6744fd82ab8ea63833a9294c2c64711910125d9;p=ceph-ansible.git validate: allow running ceph-ansible 3.2 against ansible 2.7 This commit allows ceph-ansible 3.2 to be run against ansible 2.7 However, note that running stable-3.2 against ansible 2.7 doesn't get any testing upstream this might break the playbook, only ansible 2.6 is officially supported. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1781635 Signed-off-by: Guillaume Abrioux --- diff --git a/roles/ceph-validate/tasks/check_system.yml b/roles/ceph-validate/tasks/check_system.yml index 046f83195..4e50c7d7a 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.4.x and 2.6.x!" + msg: "Ansible version must be between 2.4.x and 2.7.x!" when: - ansible_version.major|int == 2 - - (ansible_version.minor|int < 4 or ansible_version.minor|int > 6) + - (ansible_version.minor|int < 4 or ansible_version.minor|int > 7) - name: fail if systemd is not present fail: