diff --git a/reset.yml b/reset.yml index 859ca6264..959487b8a 100644 --- a/reset.yml +++ b/reset.yml @@ -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." diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index e3894be8c..a9d4a33cb 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -124,6 +124,9 @@ - "{{ bin_dir }}/helm" - "{{ bin_dir }}/calicoctl" - "{{ bin_dir }}/weave" + - /var/lib/rkt + - /etc/vault + ignore_errors: yes tags: - files