ansible-role-k3s/tasks/teardown/uninstall-docker-suse.yml
2020-12-12 14:27:59 +00:00

11 lines
315 B
YAML

---
- name: Ensure docker is uninstalled using Zypper
community.general.zypper:
name: docker
state: absent
register: ensure_docker_uninstalled
until: ensure_docker_uninstalled is succeeded
retries: 3
delay: 10
become: "{{ k3s_become_for_uninstall | ternary(true, false, k3s_become_for_all) }}"