Add retry to comply with the until loop

Change-Id: Ibbfbebb0b3b904deb340355e46c33e1b1e65fb1d
This commit is contained in:
Marc Gariepy 2016-09-08 09:29:55 -04:00
parent 736969d00c
commit 50099568d2
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@
command: "/usr/bin/yum clean all"
register: yum_clean
until: yum_clean | success
retries: 5
delay: 2
tags:
- skip_ansible_lint