Exclude disks were defined in dedicated_devices and bluestore_wal_devices on osd_auto_discovery enabled.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit
32b56785116eb47297df282bab1543507fc62b43)
- item.value.holders|count == 0
- ansible_facts['mounts'] | selectattr('device', 'equalto', device) | list | length == 0
- item.key is not match osd_auto_discovery_exclude
+ - device not in dedicated_devices | default([])
+ - device not in bluestore_wal_devices | default([])