Retry apt cache update
This task is causing some test failures from time to time. Implementing a retry should help to reduce transient failures. Change-Id: Iff2bb89e51690a7646ded209853abae0632f1985
This commit is contained in:
parent
079e600652
commit
a40b253ed7
@ -72,6 +72,10 @@
|
||||
when:
|
||||
- apt_sources_configure is defined
|
||||
- apt_sources_configure | changed
|
||||
register: _update
|
||||
retries: 5
|
||||
delay: 2
|
||||
until: _update | succeeded
|
||||
tags:
|
||||
- apt-cache-update
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user