Merge pull request #148 from speechmatics/fix_networking_retries

add missing 'until' condition in control plane setup
This commit is contained in:
Jeff Geerling 2023-06-21 22:20:54 -05:00 committed by GitHub
commit 82caba3ee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,8 @@
register: flannel_result
changed_when: "'created' in flannel_result.stdout"
when: kubernetes_pod_network.cni == 'flannel'
retries: 3
until: flannel_result is not failed
retries: 12
delay: 5
- name: Configure Calico networking.
@ -58,7 +59,8 @@
register: calico_result
changed_when: "'created' in calico_result.stdout"
when: kubernetes_pod_network.cni == 'calico'
retries: 3
until: calico_result is not failed
retries: 12
delay: 5
- name: Get Kubernetes version for Weave installation.
@ -66,7 +68,8 @@
changed_when: false
register: kubectl_version
when: kubernetes_pod_network.cni == 'weave'
retries: 3
until: kubectl_version is not failed
retries: 12
delay: 5
- name: Configure Weave networking.