retry to fetch binary if it fails first time (#7839)

This commit is contained in:
Smita Srivastava 2021-07-30 12:47:38 +05:30 committed by GitHub
parent 5db86f4c2b
commit 31a5a4e808
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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