Skip to content

Commit

Permalink
修复easzctl setup流程
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Mar 17, 2019
1 parent 27ff0e6 commit ef0ed89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/kube-node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion tools/easzctl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ef0ed89

Please sign in to comment.