Browse Source

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

pull/7841/head
Smita Srivastava 3 years ago
committed by GitHub
parent
commit
31a5a4e808
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/kubernetes/client/tasks/main.yml

3
roles/kubernetes/client/tasks/main.yml

@ -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…
Cancel
Save