Browse Source

Merge "yum_update_buildah: add retry x3"

changes/04/634904/1
Zuul 3 months ago
parent
commit
ad56778e6e
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      tasks/yum_update_buildah.yml

+ 4
- 0
tasks/yum_update_buildah.yml View File

@@ -47,6 +47,10 @@
47 47
       --net host
48 48
       {{ from_image }}
49 49
       /tmp/yum_update.sh "{{ update_repo }}"
50
+  retries: 3
51
+  delay: 3
52
+  register: result
53
+  until: result.rc == 0
50 54
 
51 55
 - name: Remove temporary yum_update.sh script
52 56
   file:

Loading…
Cancel
Save