diff --git a/roles/clean/tasks/main.yml b/roles/clean/tasks/main.yml index 3fdc9e4..6d34072 100644 --- a/roles/clean/tasks/main.yml +++ b/roles/clean/tasks/main.yml @@ -27,12 +27,12 @@ - 'HELM_TLS_ENABLE' when: 'DEL_ENV == "yes"' -- name: remove binaries and offline images - file: name={{ item }} state=absent - with_items: - - "/opt/kube/bin" - - "/opt/kube/images" - when: 'DEL_ETCD == "yes" and DEL_NODE == "yes" and DEL_MASTER == "yes"' + #- name: remove binaries and offline images + # file: name={{ item }} state=absent + # with_items: + # - "/opt/kube/bin" + # - "/opt/kube/images" + # when: 'DEL_ETCD == "yes" and DEL_NODE == "yes" and DEL_MASTER == "yes"' - name: 重启提示 WARNNING debug: