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

11 lines
313 B
YAML

---
- name: Ensure docker is installed 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) }}"