diff --git a/99.clean.yml b/99.clean.yml index ba95c07..5ea330f 100644 --- a/99.clean.yml +++ b/99.clean.yml @@ -138,3 +138,14 @@ - "{{ ca_dir }}" - "/root/.kube/" - "/etc/docker/" + +- hosts: + - kube-master + - kube-node + - deploy + - etcd + - lb + tasks: + - name: 清理自动生成的PATH + shell: sed -i '/kubeasz/d' /etc/profile + ignore_errors: true