mirror of https://github.com/ceph/ceph-ansible.git
osd: avoid using non desired loop device in autodiscovery
This will prevent ceph-ansible from using a loop device while it shouldn't in auto_discovery mode. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/2154/head
parent
b9ee96b56a
commit
43975a7332
|
@ -26,6 +26,7 @@
|
|||
- osd_auto_discovery
|
||||
- ansible_devices is defined
|
||||
- item.value.removable == "0"
|
||||
- item.value.sectors != "0"
|
||||
- item.value.partitions|count == 0
|
||||
- item.value.holders|count == 0
|
||||
- "'dm-' not in item.key"
|
||||
|
|
Loading…
Reference in New Issue