fix: add cilium-cli to prepare playbook and cilium uninstall to nuke playbook

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-05-30 15:10:14 -04:00
1 parent d00d962fad
commit 7a54ce1a0f
3 files changed
+20 -2

No files matched your search

+7 -1
View File
@@ -9,7 +9,7 @@
- name: nuke
prompt: |-
Are you sure you want to nuke this cluster?
Type YES I WANT TO DESTROY THIS CLUSTER to proceed
Type 'YES I WANT TO DESTROY THIS CLUSTER' to proceed
default: "n"
private: false
pre_tasks:
@@ -22,6 +22,12 @@
ansible.builtin.pause:
seconds: 5
tasks:
- name: Uninstall Cilium
ansible.builtin.shell: |
cilium uninstall --wait
environment:
KUBECONFIG: /etc/rancher/k3s/k3s.yaml
- name: Reboot
ansible.builtin.reboot:
msg: Rebooting nodes