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>
(cherry picked from commit 5ee3d96fb4
)
pull/4352/head
parent
19c7b650db
commit
6fa0eb90a2
|
@ -46,12 +46,12 @@
|
||||||
- ceph_repository == 'uca'
|
- ceph_repository == 'uca'
|
||||||
- ansible_distribution != 'Ubuntu'
|
- ansible_distribution != 'Ubuntu'
|
||||||
|
|
||||||
- name: fail on unsupported openSUSE distribution
|
- name: "fail on unsupported openSUSE distribution (only 15.x supported)"
|
||||||
fail:
|
fail:
|
||||||
msg: "Distribution not supported: {{ ansible_distribution }}"
|
msg: "Distribution not supported: {{ ansible_distribution }}"
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'openSUSE Leap'
|
- 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)
|
- name: fail on unsupported ansible version (1.X)
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue