Fixes to reset (#2046)

- adding additional directories to cleanup (rkt/vault)
- targeting kubespray ansible groups instead of all
pull/2052/head
Brad Beam 2017-12-11 06:49:21 -06:00 committed by Matthew Mosesohn
parent 93f3614382
commit 9643c2c1e3
2 changed files with 6 additions and 0 deletions

View File

@ -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."

View File

@ -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