mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-23 19:06:33 +01:00
Merge pull request #36 from rdxmb/fail-when-init-failed
fail when kubeadm init fails
This commit is contained in:
commit
65b8c76dd7
@ -8,7 +8,6 @@
|
||||
--ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }}
|
||||
{{ kubernetes_kubeadm_init_extra_opts }}
|
||||
register: kubeadmin_init
|
||||
failed_when: false
|
||||
when: not kubernetes_init_stat.stat.exists
|
||||
|
||||
- name: Print the init output to screen.
|
||||
|
Loading…
Reference in New Issue
Block a user