From: Guillaume Abrioux Date: Tue, 26 Nov 2019 15:18:28 +0000 (+0100) Subject: purge: do not try to stop docker when binary is podman X-Git-Tag: v6.0.0alpha1~190 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b18476a1a6ff23550ca3b36864771f7afbfaf373;p=ceph-ansible.git purge: do not try to stop docker when binary is podman If the container binary is podman, we shouldn't try to stop docker here. Signed-off-by: Guillaume Abrioux --- diff --git a/infrastructure-playbooks/purge-docker-cluster.yml b/infrastructure-playbooks/purge-docker-cluster.yml index 468cdea85..d9aa4b012 100644 --- a/infrastructure-playbooks/purge-docker-cluster.yml +++ b/infrastructure-playbooks/purge-docker-cluster.yml @@ -542,7 +542,9 @@ name: docker state: stopped enabled: no - when: not is_atomic + when: + - not is_atomic + - container_binary == 'docker' ignore_errors: true - name: remove docker on debian/ubuntu