Yum: Add retry to comply with the until loop

Change-Id: Iaf877dba3cf143e9e41ee571a49c0127c6da0d46
This commit is contained in:
Marc Gariepy 2016-09-08 11:03:22 -04:00
parent 02eebf7884
commit 3271242b16

View File

@ -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