add missing 'until' condition in control plane setup

This commit is contained in:
Waldek Maleska 2023-06-20 17:34:33 +01:00
parent fc69029f16
commit 0627acda44
No known key found for this signature in database
GPG Key ID: 8667A0662654167A

View File

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