去除自动生成的PATH

pull/177/head
antergone 2018-05-03 01:49:42 +08:00 committed by GitHub
parent 88ae1783ba
commit c17a378efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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