Yum: Add retry to comply with the until loop
Change-Id: Iaf877dba3cf143e9e41ee571a49c0127c6da0d46
This commit is contained in:
parent
02eebf7884
commit
3271242b16
@ -17,6 +17,8 @@
|
||||
command: "/usr/bin/yum clean all"
|
||||
register: yum_clean
|
||||
until: yum_clean | success
|
||||
retries: 5
|
||||
delay: 2
|
||||
tags:
|
||||
- rsyslog-yum-packages
|
||||
- skip_ansible_lint
|
||||
|
Loading…
Reference in New Issue
Block a user