k3s unistall script

This commit is contained in:
2022-08-02 09:59:27 -04:00
parent 3a0f4a84b1
commit 7410984c5e
3 changed files with 80 additions and 70 deletions

View File

@@ -0,0 +1,10 @@
---
- name: ping
hosts: kube
gather_facts: true
tasks:
- name: running uninstall script
ansible.builtin.command: /usr/local/bin/k3s-uninstall.sh
args:
removes: /usr/local/bin/k3s-uninstall.sh