]> 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>
Tue, 3 Mar 2020 09:31:48 +0000 (10:31 +0100)
This commit adds ansible 2.9 support in addition of 2.8.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit aefba82a2e2ebecd24eb743f687469d070246ca2)

roles/ceph-validate/tasks/check_system.yml

index 44b1c6dc28361c07df87b4532f84d4fcc69e4fdd..f1a50fd3b2f30cdf905d96da6da16037f731f9cb 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: