ansible-role-k3s/tasks/teardown/uninstall-docker-amazon.yml
2020-02-25 15:42:40 -05:00

6 lines
222 B
YAML

---
- name: Ensure docker is uninstalled using amazon-linux-extras
command: amazon-linux-extras uninstall docker
register: uninstall_docker_from_amazon_linux
changed_when: uninstall_docker_from_amazon_linux.rc == 0