From 9d4f90c8b4b92de807a0bc12af45b99046ed6106 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Fri, 1 Nov 2019 09:28:03 -0400 Subject: [PATCH] Add ansible 2.9 support This commit adds ansible 2.9 support in addition of 2.8. Signed-off-by: Dimitri Savineau (cherry picked from commit aefba82a2e2ebecd24eb743f687469d070246ca2) --- roles/ceph-validate/tasks/check_system.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/ceph-validate/tasks/check_system.yml b/roles/ceph-validate/tasks/check_system.yml index 44b1c6dc2..f1a50fd3b 100644 --- a/roles/ceph-validate/tasks/check_system.yml +++ b/roles/ceph-validate/tasks/check_system.yml @@ -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: