mirror of https://github.com/easzlab/kubeasz.git
fix 清理脚本清理环境变量
parent
4f82c79fa2
commit
0dd9ef7845
13
99.clean.yml
13
99.clean.yml
|
@ -153,11 +153,8 @@
|
|||
lineinfile:
|
||||
dest: ~/.bashrc
|
||||
state: absent
|
||||
regexp: 'kubeasz'
|
||||
|
||||
- name: 清理 kubectl 命令自动补全
|
||||
lineinfile:
|
||||
dest: ~/.bashrc
|
||||
state: absent
|
||||
regexp: 'kubectl completion'
|
||||
|
||||
regexp: '{{ item }}'
|
||||
with_items:
|
||||
- 'kubeasz'
|
||||
- 'helm'
|
||||
- 'kubectl completion'
|
||||
|
|
|
@ -154,13 +154,11 @@
|
|||
lineinfile:
|
||||
dest: ~/.bashrc
|
||||
state: absent
|
||||
regexp: 'kubeasz'
|
||||
|
||||
- name: 清理 kubectl 命令自动补全
|
||||
lineinfile:
|
||||
dest: ~/.bashrc
|
||||
state: absent
|
||||
regexp: 'kubectl completion'
|
||||
regexp: '{{ item }}'
|
||||
with_items:
|
||||
- 'kubeasz'
|
||||
- 'helm'
|
||||
- 'kubectl completion'
|
||||
|
||||
# 执行kubectl delete(节点可能是kube-node节点)
|
||||
- hosts: deploy
|
||||
|
|
Loading…
Reference in New Issue