mirror of https://github.com/easzlab/kubeasz.git
去除自动生成的PATH
parent
88ae1783ba
commit
c17a378efa
11
99.clean.yml
11
99.clean.yml
|
@ -138,3 +138,14 @@
|
||||||
- "{{ ca_dir }}"
|
- "{{ ca_dir }}"
|
||||||
- "/root/.kube/"
|
- "/root/.kube/"
|
||||||
- "/etc/docker/"
|
- "/etc/docker/"
|
||||||
|
|
||||||
|
- hosts:
|
||||||
|
- kube-master
|
||||||
|
- kube-node
|
||||||
|
- deploy
|
||||||
|
- etcd
|
||||||
|
- lb
|
||||||
|
tasks:
|
||||||
|
- name: 清理自动生成的PATH
|
||||||
|
shell: sed -i '/kubeasz/d' /etc/profile
|
||||||
|
ignore_errors: true
|
||||||
|
|
Loading…
Reference in New Issue