retry to fetch binary if it fails first time (#7839)
This commit is contained in:
parent
5db86f4c2b
commit
31a5a4e808
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@
|
|||
dest: "{{ artifacts_dir }}/kubectl"
|
||||
flat: yes
|
||||
validate_checksum: no
|
||||
register: copy_binary_result
|
||||
until: copy_binary_result is not failed
|
||||
retries: 20
|
||||
become: no
|
||||
run_once: yes
|
||||
when: kubectl_localhost
|
||||
|
|
Loading…
Reference in a new issue