Skip to content
Snippets Groups Projects
Unverified Commit 5cf28834 authored by cleverhu's avatar cleverhu Committed by GitHub
Browse files

add retry for start calico kube controller (#9450)

parent 6bff338b
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
state: "latest" state: "latest"
with_items: with_items:
- "{{ calico_kube_manifests.results }}" - "{{ calico_kube_manifests.results }}"
register: calico_kube_controller_start
until: calico_kube_controller_start is succeeded
retries: 4
when: when:
- inventory_hostname == groups['kube_control_plane'][0] - inventory_hostname == groups['kube_control_plane'][0]
- not item is skipped - not item is skipped
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment