]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
validate: allow running ceph-ansible 3.2 against ansible 2.7
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 31 Jan 2020 09:23:20 +0000 (10:23 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 31 Jan 2020 15:07:48 +0000 (10:07 -0500)
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 <gabrioux@redhat.com>
roles/ceph-validate/tasks/check_system.yml

index 046f83195568a04d9de87570873725943402a311..4e50c7d7a9b51221722c55eb9272fd3f853cf217 100644 (file)
 
 - 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: