summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nickhammond.logrotate/tasks/main.yml')
-rw-r--r--roles/nickhammond.logrotate/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/nickhammond.logrotate/tasks/main.yml b/roles/nickhammond.logrotate/tasks/main.yml
index 657cb10ec..32d3acb86 100644
--- a/roles/nickhammond.logrotate/tasks/main.yml
+++ b/roles/nickhammond.logrotate/tasks/main.yml
@@ -2,6 +2,8 @@
- name: nickhammond.logrotate | Install logrotate
package: name=logrotate state=present
when: not openshift.common.is_atomic | bool
+ register: result
+ until: result | success
- name: nickhammond.logrotate | Setup logrotate.d scripts
template: