mirror of https://github.com/easzlab/kubeasz.git
修复easzctl setup流程
parent
27ff0e6b61
commit
ef0ed89c34
|
@ -37,6 +37,7 @@
|
|||
line: 'source <(kubectl completion bash)'
|
||||
connection: local
|
||||
run_once: true
|
||||
ignore_errors: true
|
||||
|
||||
- name: 分发证书相关
|
||||
synchronize: src={{ ca_dir }}/{{ item }} dest={{ ca_dir }}/{{ item }}
|
||||
|
|
|
@ -236,7 +236,7 @@ function setup() {
|
|||
echo -e "\n[INFO] setup cluster with context: $CLUSTER"
|
||||
echo -e "[INFO] setup begin in 5s, press 'Enter' to abort\n:"
|
||||
! (read -t 5 ANS) || { echo "[WARN] setup aborted"; return 1; }
|
||||
ansible-playbook $BASEPATH/90.setup.yml
|
||||
ansible-playbook $BASEPATH/90.setup.yml || return 1
|
||||
save_context
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue