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