Skip to content

Commit 7b82997

Browse files
Add retry on yaml download
1 parent a542dd8 commit 7b82997

File tree

1 file changed

+4
-0
lines changed
  • playbooks/roles/yaml/tasks

1 file changed

+4
-0
lines changed

playbooks/roles/yaml/tasks/el.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
get_url:
44
url: "https://github.com/mikefarah/yq/releases/download/v4.9.6/yq_linux_amd64.tar.gz"
55
dest: "/tmp"
6+
retries: 10
7+
delay: 10
8+
register: result
9+
until: result is not failed
610
- name: untar yq
711
unarchive:
812
src: "/tmp/yq_linux_amd64.tar.gz"

0 commit comments

Comments
 (0)