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

pull/7841/head
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
1 changed files with 3 additions and 0 deletions

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