diff --git a/roles/ceph-handler/tasks/check_running_containers.yml b/roles/ceph-handler/tasks/check_running_containers.yml index 111d11274..15acc5df2 100644 --- a/roles/ceph-handler/tasks/check_running_containers.yml +++ b/roles/ceph-handler/tasks/check_running_containers.yml @@ -9,7 +9,7 @@ - inventory_hostname in groups.get(mon_group_name, []) - name: check for an osd container - command: "docker ps -q --filter='name=ceph-osd-{{ ansible_hostname }}'" + command: "docker ps -q --filter='name=ceph-osd'" register: ceph_osd_container_stat changed_when: false failed_when: false