Skip to content
Snippets Groups Projects
Unverified Commit eff19312 authored by forselli-stratio's avatar forselli-stratio Committed by GitHub
Browse files

Add retries to 'Set label for route reflector' task (#7645)

parent 3a37a496
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,8 @@
command: >-
{{ bin_dir }}/calicoctl.sh label node {{ inventory_hostname }}
'i-am-a-route-reflector=true' --overwrite
changed_when: false
register: calico_rr_label
until: calico_rr_label is succeeded
delay: "{{ retry_stagger | random + 3 }}"
retries: 10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment