diff --git a/roles/ceph-validate/tasks/check_system.yml b/roles/ceph-validate/tasks/check_system.yml index 8f0b81307..9863188a0 100644 --- a/roles/ceph-validate/tasks/check_system.yml +++ b/roles/ceph-validate/tasks/check_system.yml @@ -46,12 +46,12 @@ - ceph_repository == 'uca' - ansible_distribution != 'Ubuntu' -- name: fail on unsupported openSUSE distribution +- name: "fail on unsupported openSUSE distribution (only 15.x supported)" fail: msg: "Distribution not supported: {{ ansible_distribution }}" when: - ansible_distribution == 'openSUSE Leap' - - ansible_distribution_version is version_compare('42.3', '<') + - ansible_distribution_major_version != '15' - name: fail on unsupported ansible version (1.X) fail: