diff --git a/infrastructure-playbooks/docker-to-podman.yml b/infrastructure-playbooks/docker-to-podman.yml index 65f4668c1..6b1a8baf9 100644 --- a/infrastructure-playbooks/docker-to-podman.yml +++ b/infrastructure-playbooks/docker-to-podman.yml @@ -58,6 +58,8 @@ name: ceph-defaults - import_role: name: ceph-facts + - import_role: + name: ceph-handler - name: get docker version command: docker --version diff --git a/roles/ceph-handler/handlers/main.yml b/roles/ceph-handler/handlers/main.yml index 65b0ba994..a6f33e24b 100644 --- a/roles/ceph-handler/handlers/main.yml +++ b/roles/ceph-handler/handlers/main.yml @@ -1,6 +1,8 @@ --- - name: handlers - when: not rolling_update | bool + when: + - not rolling_update | bool + - not docker2podman | default(False) | bool block: - name: update apt cache apt: