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:
|
lineinfile:
|
||||||
dest: ~/.bashrc
|
dest: ~/.bashrc
|
||||||
state: absent
|
state: absent
|
||||||
regexp: 'kubeasz'
|
regexp: '{{ item }}'
|
||||||
|
with_items:
|
||||||
- name: 清理 kubectl 命令自动补全
|
- 'kubeasz'
|
||||||
lineinfile:
|
- 'helm'
|
||||||
dest: ~/.bashrc
|
- 'kubectl completion'
|
||||||
state: absent
|
|
||||||
regexp: 'kubectl completion'
|
|
||||||
|
|
||||||
|
|
|
@ -154,13 +154,11 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: ~/.bashrc
|
dest: ~/.bashrc
|
||||||
state: absent
|
state: absent
|
||||||
regexp: 'kubeasz'
|
regexp: '{{ item }}'
|
||||||
|
with_items:
|
||||||
- name: 清理 kubectl 命令自动补全
|
- 'kubeasz'
|
||||||
lineinfile:
|
- 'helm'
|
||||||
dest: ~/.bashrc
|
- 'kubectl completion'
|
||||||
state: absent
|
|
||||||
regexp: 'kubectl completion'
|
|
||||||
|
|
||||||
# 执行kubectl delete(节点可能是kube-node节点)
|
# 执行kubectl delete(节点可能是kube-node节点)
|
||||||
- hosts: deploy
|
- hosts: deploy
|
||||||
|
|
Loading…
Reference in New Issue