mirror of https://github.com/ceph/ceph-ansible.git
ceph-validate: fail on CentOS 7
The Ceph Octopus release is only supported on CentOS 8 Closes: #4918 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/4921/head
parent
dc672e86ec
commit
e4ddcb812b
|
@ -26,6 +26,13 @@
|
|||
msg: "Distribution not supported {{ ansible_os_family }}"
|
||||
when: ansible_os_family not in ['Debian', 'RedHat', 'ClearLinux', 'Suse']
|
||||
|
||||
- name: fail on unsupported CentOS release
|
||||
fail:
|
||||
msg: "CentOS release not supported {{ ansible_distribution_major_version }}"
|
||||
when:
|
||||
- ansible_distribution == 'CentOS'
|
||||
- ansible_distribution_major_version | int != 8
|
||||
|
||||
- name: red hat based systems tasks
|
||||
when:
|
||||
- ceph_repository == 'rhcs'
|
||||
|
|
Loading…
Reference in New Issue