mirror of https://github.com/ceph/ceph-ansible.git
only support openSUSE Leap 15.x, fail on 42.x
openSUSE switched from 'openSUSE 13.x' to 'openSUSE Leap 42.x' and then to 'openSUSE Leap 15.x' to align with SLES15 development. The previous logic did not correctly allow the current release, as 15.x matched the 'less than 42.3' condition. For now only support openSUSE Leap 15.x, and extend support once 16.x is released (or whatever the exact version will be) Signed-off-by: Johannes Kastl <kastl@b1-systems.de>pull/4303/head
parent
771f25b1f8
commit
5ee3d96fb4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue