mirror of https://github.com/ceph/ceph-ansible.git
ceph-validate: check devices from lvm_volumes
pull/6749/head2888c08
introduced a regression as the check_devices tasks file was only included based on the devices variable. But that file also validate some devices from the lvm_volumes variable. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1906022 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commitac0342b72e
)
parent
c8ca73f620
commit
5ef1d630d8
|
@ -83,7 +83,7 @@
|
|||
unit: MiB
|
||||
register: devices_parted
|
||||
failed_when: False
|
||||
with_items: "{{ devices }}"
|
||||
with_items: "{{ devices | default([]) }}"
|
||||
|
||||
- name: fail if one of the devices is not a device
|
||||
fail:
|
||||
|
|
|
@ -140,7 +140,6 @@
|
|||
when:
|
||||
- osd_group_name in group_names
|
||||
- not osd_auto_discovery | default(False) | bool
|
||||
- devices|default([])|length > 0
|
||||
|
||||
- name: include check_eth_mon.yml
|
||||
include_tasks: check_eth_mon.yml
|
||||
|
|
Loading…
Reference in New Issue