Add retries to 'Set label for route reflector' task (#7645)
This commit is contained in:
parent
3a37a49690
commit
eff1931283
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue