mirror of https://github.com/ceph/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 <gabrioux@redhat.com>
(cherry picked from commit b18476a1a6
)
pull/4807/head
parent
6592caab08
commit
1e7fd9fe36
|
@ -550,7 +550,9 @@
|
||||||
name: docker
|
name: docker
|
||||||
state: stopped
|
state: stopped
|
||||||
enabled: no
|
enabled: no
|
||||||
when: not is_atomic
|
when:
|
||||||
|
- not is_atomic
|
||||||
|
- container_binary == 'docker'
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: remove docker on debian/ubuntu
|
- name: remove docker on debian/ubuntu
|
||||||
|
|
Loading…
Reference in New Issue