增加清理节点二进制文件和离线镜像

pull/804/head
gjmzj 2020-02-01 02:05:43 +08:00
parent 3b4f367b95
commit cb35be0417
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +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"
- name: 重启提示 WARNNING
debug:
msg: "[重要]: 请重启节点以确保清除系统残留的虚拟网卡、路由信息、iptalbes|ipvs规则等 \