mirror of https://github.com/easzlab/kubeasz.git
清除集群时暂保留/opt/kube目录
parent
90c88e59ba
commit
9117d07e82
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue