devices: exclude db disks on osd_auto_discovery enabled

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 32b5678511)
pull/7413/head
Seena Fallah 2023-02-13 17:12:41 +01:00 committed by Teoman ONAY
parent fcbb49c1ac
commit bd66017d46
1 changed files with 2 additions and 0 deletions

View File

@ -62,3 +62,5 @@
- 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([])