清除集群时暂保留/opt/kube目录

pull/860/head
gjmzj 2020-05-28 14:05:03 +08:00
parent 90c88e59ba
commit 9117d07e82
1 changed files with 6 additions and 6 deletions

View File

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