Fixes to reset (#2046)
- adding additional directories to cleanup (rkt/vault) - targeting kubespray ansible groups instead of all
This commit is contained in:
parent
93f3614382
commit
9643c2c1e3
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
gather_facts: true
|
||||||
|
|
||||||
|
- hosts: etcd:k8s-cluster:vault:calico-rr
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
name: "reset_confirmation"
|
name: "reset_confirmation"
|
||||||
prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster."
|
prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster."
|
||||||
|
|
|
@ -124,6 +124,9 @@
|
||||||
- "{{ bin_dir }}/helm"
|
- "{{ bin_dir }}/helm"
|
||||||
- "{{ bin_dir }}/calicoctl"
|
- "{{ bin_dir }}/calicoctl"
|
||||||
- "{{ bin_dir }}/weave"
|
- "{{ bin_dir }}/weave"
|
||||||
|
- /var/lib/rkt
|
||||||
|
- /etc/vault
|
||||||
|
ignore_errors: yes
|
||||||
tags:
|
tags:
|
||||||
- files
|
- files
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue