]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-config: don't check for devices on existing osds
authorSeena Fallah <seenafallah@gmail.com>
Sat, 24 Sep 2022 17:21:41 +0000 (19:21 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 10 Oct 2022 08:58:47 +0000 (10:58 +0200)
commit57b0890aff91412fbdccbe0ec250ec06f4015f80
tree1998d416dce2b1bf2154651744dba81abf9d10c0
parentac4dfa7526eccdf05b8019ee761538d9b5b0642b
ceph-config: don't check for devices on existing osds

When osd_auto_discovery is true the `devices` var will be empty (as the disks have holders).
Also in general there is no need to check for devices to list the devices with ceph-volume as we have `default({})` on the stdout in `num_osds` set fact in the next task

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
roles/ceph-config/tasks/main.yml