ansible-role-k3s/tasks/teardown/uninstall-k3s.yml
2020-02-25 15:25:23 -05:00

13 lines
266 B
YAML

---
- name: "Run k3s-killall.sh"
command: k3s-killall.sh
- name: "Run k3s-uninstall.sh"
command:
cmd: k3s-uninstall.sh
removes: /usr/local/bin/k3s-uninstall.sh
- name: "Clean up Docker"
command: docker system prune -a --force
when: k3s_use_docker