diff --git a/infrastructure-playbooks/purge-container-cluster.yml b/infrastructure-playbooks/purge-container-cluster.yml index ac833fbc0..bcdbecea9 100644 --- a/infrastructure-playbooks/purge-container-cluster.yml +++ b/infrastructure-playbooks/purge-container-cluster.yml @@ -258,7 +258,7 @@ - name: get all the running osds shell: | - systemctl list-units | grep 'loaded[[:space:]]\+active' | grep -oE "ceph-osd@([0-9]+).service" + systemctl list-units --all | grep -oE "ceph-osd@([0-9]+).service" register: osd_units ignore_errors: true