Fixes to reset (#2046)

- adding additional directories to cleanup (rkt/vault)
- targeting kubespray ansible groups instead of all
This commit is contained in:
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
gather_facts: true
- hosts: etcd:k8s-cluster:vault:calico-rr
vars_prompt:
name: "reset_confirmation"
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 }}/calicoctl"
- "{{ bin_dir }}/weave"
- /var/lib/rkt
- /etc/vault
ignore_errors: yes
tags:
- files