mirror of https://github.com/easzlab/kubeasz.git
minor fix
parent
38c0c934bb
commit
6882a795ef
|
@ -103,7 +103,8 @@
|
|||
- name: 本地创建 easzctl 工具的软连接
|
||||
file: src={{ base_dir }}/tools/easzctl dest=/usr/bin/easzctl state=link
|
||||
|
||||
- name: 本地写入环境变量$PATH
|
||||
# ----------
|
||||
- name: ansible 控制端写入环境变量$PATH
|
||||
lineinfile:
|
||||
dest: ~/.bashrc
|
||||
state: present
|
||||
|
@ -118,3 +119,7 @@
|
|||
regexp: 'kubectl completion'
|
||||
line: 'source <(kubectl completion bash)'
|
||||
ignore_errors: true
|
||||
|
||||
- name: ansible 控制端创建 kubectl 软链接
|
||||
file: src={{ base_dir }}/bin/kubectl dest=/usr/bin/kubectl state=link
|
||||
ignore_errors: true
|
||||
|
|
|
@ -86,7 +86,7 @@ EOF
|
|||
|
||||
echo "[INFO] enable and start docker"
|
||||
systemctl enable docker
|
||||
systemctl daemon-reload && systemctl restart docker
|
||||
systemctl daemon-reload && systemctl restart docker && sleep 8
|
||||
}
|
||||
|
||||
function get_kubeasz() {
|
||||
|
|
Loading…
Reference in New Issue