Enable deploying ceph on loopback devices
Since whole issue was related to check whether user wants to wipe device, loopbacks can be opt out from this warnings Change-Id: Idd823b282e3055457ed041a98c848deb8509cc30 Closes-Bug: #1667074
This commit is contained in:
parent
381c18975c
commit
8530bc10a2
@ -35,6 +35,7 @@
|
||||
with_items: "{{ osds_bootstrap|default([]) }}"
|
||||
when:
|
||||
- item.external_journal | bool == False
|
||||
- item.device.split('/')[2] in ansible_devices # if there is no device in setup (like loopback, we don't need to warn user
|
||||
- ansible_devices[item.device.split('/')[2]].partitions|count > 1
|
||||
- ceph_osd_wipe_disk != "yes-i-really-really-mean-it"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user