7 - name: list all OSD directories
9 paths: /var/lib/ceph/osd
13 - name: scan all OSD directories
14 command: "ceph-volume --cluster={{ cluster }} simple scan {{ item.path }}"
18 - "{{ osd_paths.files }}"
20 - name: list all OSD JSON files
26 - name: activate all scanned OSDs
27 command: "ceph-volume --cluster={{ cluster }} simple activate --file {{ item.path }}"
31 - "{{ osd_configs.files }}"