diff --git a/roles/ceph-validate/tasks/check_system.yml b/roles/ceph-validate/tasks/check_system.yml index dc39509d8..2f8f8054e 100644 --- a/roles/ceph-validate/tasks/check_system.yml +++ b/roles/ceph-validate/tasks/check_system.yml @@ -59,18 +59,18 @@ - ansible_distribution == 'openSUSE Leap' - ansible_distribution_version | version_compare('42.3', '<') -- name: fail on unsupported ansible version +- name: fail on unsupported ansible version (1.X) fail: - msg: "Ansible version must be >= 2.3.x, please update!" + msg: "Ansible version must be >= 2.4.x, please update!" when: - ansible_version.major|int < 2 - name: fail on unsupported ansible version fail: - msg: "Ansible version must be >= 2.3.x, please update!" + msg: "Ansible version must be between 2.4.x and 2.5.x!" when: - ansible_version.major|int == 2 - - ansible_version.minor|int < 3 + - (ansible_version.minor|int < 4 or ansible_version.minor|int > 5) - name: fail if systemd is not present fail: