mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-12-21 19:06:56 +01:00
add missing 'until' condition in control plane setup
This commit is contained in:
parent
fc69029f16
commit
0627acda44
@ -50,6 +50,7 @@
|
||||
register: flannel_result
|
||||
changed_when: "'created' in flannel_result.stdout"
|
||||
when: kubernetes_pod_network.cni == 'flannel'
|
||||
until: flannel_result is not failed
|
||||
retries: 3
|
||||
delay: 5
|
||||
|
||||
@ -58,6 +59,7 @@
|
||||
register: calico_result
|
||||
changed_when: "'created' in calico_result.stdout"
|
||||
when: kubernetes_pod_network.cni == 'calico'
|
||||
until: calico_result is not failed
|
||||
retries: 3
|
||||
delay: 5
|
||||
|
||||
@ -66,6 +68,7 @@
|
||||
changed_when: false
|
||||
register: kubectl_version
|
||||
when: kubernetes_pod_network.cni == 'weave'
|
||||
until: kubectl_version is not failed
|
||||
retries: 3
|
||||
delay: 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user