Merge "yum_update_buildah: add retry x3"
This commit is contained in:
commit
ad56778e6e
|
@ -47,6 +47,10 @@
|
||||||
--net host
|
--net host
|
||||||
{{ from_image }}
|
{{ from_image }}
|
||||||
/tmp/yum_update.sh "{{ update_repo }}"
|
/tmp/yum_update.sh "{{ update_repo }}"
|
||||||
|
retries: 3
|
||||||
|
delay: 3
|
||||||
|
register: result
|
||||||
|
until: result.rc == 0
|
||||||
|
|
||||||
- name: Remove temporary yum_update.sh script
|
- name: Remove temporary yum_update.sh script
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue