mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-13 15:09:40 -02:30
retry to fetch binary if it fails first time (#7839)
This commit is contained in:
@@ -106,6 +106,9 @@
|
|||||||
dest: "{{ artifacts_dir }}/kubectl"
|
dest: "{{ artifacts_dir }}/kubectl"
|
||||||
flat: yes
|
flat: yes
|
||||||
validate_checksum: no
|
validate_checksum: no
|
||||||
|
register: copy_binary_result
|
||||||
|
until: copy_binary_result is not failed
|
||||||
|
retries: 20
|
||||||
become: no
|
become: no
|
||||||
run_once: yes
|
run_once: yes
|
||||||
when: kubectl_localhost
|
when: kubectl_localhost
|
||||||
|
|||||||
Reference in New Issue
Block a user