diff --git a/infrastructure-playbooks/purge-container-cluster.yml b/infrastructure-playbooks/purge-container-cluster.yml index 4144c8ecc..61ac03906 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