修复easzctl setup流程

pull/485/head
gjmzj 2019-03-17 19:19:57 +08:00
parent 27ff0e6b61
commit ef0ed89c34
2 changed files with 2 additions and 1 deletions

View File

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

View File

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