diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index a52ee2394..ad005cd54 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -257,13 +257,13 @@ - name: get osd directories command: > - ls -1 /var/lib/ceph/osd + find /var/lib/ceph/osd {% if dmcrypt | bool %}/var/lib/ceph/osd-lockbox{% endif %} -maxdepth 1 -mindepth 1 -type d register: osd_dirs changed_when: false - name: unmount all the osd directories command: > - umount /var/lib/ceph/osd/{{ item }} + umount {{ item }} changed_when: false failed_when: false with_items: "{{ osd_dirs.stdout_lines }}"