Skip to content

Commit 19183c8

Browse files
ardentperfsteenzout
authored andcommitted
retry RPM download if it fails
this particular task is prone to occasional errors since it downloads a large file over the internet. would be nice to have it retry a few times automatically, especially for playbooks running across a group of servers.
1 parent 102640e commit 19183c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/redhat/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
validate_certs="{{ oracle_java_rpm_validate_certs }}"
5555
timeout={{ oracle_java_download_timeout }}
5656
register: oracle_java_task_rpm_download
57+
until: oracle_java_task_rpm_download|succeeded
5758
become: yes
5859
tags: [ installation ]
5960

0 commit comments

Comments
 (0)