Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit de3a58c

Browse files
committed
Remote package tasks should have a retry
1 parent 58cdbb6 commit de3a58c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
apt:
6262
update_cache: yes
6363
cache_valid_time: 86400
64+
register: network_access
65+
until: network_access is success
66+
retries: 10
67+
delay: 2
6468
tags:
6569
- java8
6670
- java8_install

0 commit comments

Comments
 (0)