]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Add ansible 2.9 support
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 1 Nov 2019 13:28:03 +0000 (09:28 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 2 Mar 2020 15:32:06 +0000 (16:32 +0100)
This commit adds ansible 2.9 support in addition of 2.8.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-validate/tasks/check_system.yml

index 0f1719a22d3882e4e230bf1c87fd7c439fc2724b..32beaa6d683f03d8b3e6ca018d90c3d2c69ed9f8 100644 (file)
@@ -1,15 +1,15 @@
 ---
 - name: fail on unsupported ansible version (1.X)
   fail:
-    msg: "Ansible version must be >= 2.8.x, please update!"
+    msg: "Ansible version must be >= 2.x, please update!"
   when: ansible_version.major|int < 2
 
 - name: fail on unsupported ansible version
   fail:
-    msg: "Ansible version must be 2.8!"
+    msg: "Ansible version must be 2.8 or 2.9!"
   when:
     - ansible_version.major|int == 2
-    - ansible_version.minor|int != 8
+    - ansible_version.minor|int not in [8, 9]
 
 - name: fail on unsupported system
   fail: