mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2025-01-08 18:50:19 +01:00
fixed 301 lint issue in uninstall-k3s.yml
This commit is contained in:
parent
e7c787e10f
commit
a1e52fb660
1 changed files with 4 additions and 0 deletions
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
- name: "Run k3s-killall.sh"
|
- name: "Run k3s-killall.sh"
|
||||||
command: k3s-killall.sh
|
command: k3s-killall.sh
|
||||||
|
register: k3s_killall
|
||||||
|
changed_when: k3s_killall.rc == 0
|
||||||
|
|
||||||
- name: "Run k3s-uninstall.sh"
|
- name: "Run k3s-uninstall.sh"
|
||||||
command:
|
command:
|
||||||
cmd: k3s-uninstall.sh
|
cmd: k3s-uninstall.sh
|
||||||
removes: /usr/local/bin/k3s-uninstall.sh
|
removes: /usr/local/bin/k3s-uninstall.sh
|
||||||
|
register: k3s_uninstall
|
||||||
|
changed_when: k3s_uninstall.rc == 0
|
||||||
|
|
||||||
- name: "Clean up Docker"
|
- name: "Clean up Docker"
|
||||||
command: docker system prune -a --force
|
command: docker system prune -a --force
|
||||||
|
|
Loading…
Reference in a new issue