Fix retries keyword missing until instruction (#5989)

This commit is contained in:
Florian Ruynat
2020-04-21 16:20:56 +02:00
committed by GitHub
parent 2bec26dba5
commit ca45d5ffbe
6 changed files with 17 additions and 2 deletions

View File

@@ -31,7 +31,9 @@
{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses }} \
set /{{ cluster_name }}/network/config \
'{ "Network": "{{ kube_pods_subnet }}", "SubnetLen": {{ kube_network_node_prefix }}, "Backend": { "Type": "{{ flannel_backend_type }}" } }'
register: output
retries: 4
until: output.rc == 0
delay: "{{ retry_stagger | random + 3 }}"
delegate_to: "{{ groups['etcd'][0] }}"
changed_when: false