From fd01377f12d22aa0bd5f9fccc8307e7373ad0ba3 Mon Sep 17 00:00:00 2001 From: jwfang <54740235@qq.com> Date: Thu, 29 Jun 2017 11:44:52 +0800 Subject: [PATCH] remove more bins when reset --- roles/reset/tasks/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index af3e66601..77140ba6a 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -79,11 +79,10 @@ - /etc/dnsmasq.d-available - /etc/etcd.env - /etc/calico + - /etc/weave.env - /opt/cni - /etc/dhcp/dhclient.d/zdnsupdate.sh - /etc/dhcp/dhclient-exit-hooks.d/zdnsupdate - - "{{ bin_dir }}/kubelet" - - "{{ bin_dir }}/kubernetes-scripts" - /run/flannel - /etc/flannel - /run/kubernetes @@ -92,6 +91,15 @@ - /etc/ssl/certs/kube-ca.pem - /etc/ssl/certs/etcd-ca.pem - /var/log/pods/ + - "{{ bin_dir }}/kubelet" + - "{{ bin_dir }}/etcd-scripts" + - "{{ bin_dir }}/etcd" + - "{{ bin_dir }}/etcdctl" + - "{{ bin_dir }}/kubernetes-scripts" + - "{{ bin_dir }}/kubectl" + - "{{ bin_dir }}/helm" + - "{{ bin_dir }}/calicoctl" + - "{{ bin_dir }}/weave" tags: ['files']