summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate/tasks
diff options
context:
space:
mode:
authorLuke Meyer <sosiouxme@gmail.com>2017-12-01 10:30:37 -0500
committerGitHub <noreply@github.com>2017-12-01 10:30:37 -0500
commiteda433cad9347d9ea7a498beaf6a696a7bf063db (patch)
tree1961a3fa38ef26a429a6e5dbc7667891e28f9303 /roles/nickhammond.logrotate/tasks
parentb66f8b9b5f12333cd962ae9b7d1f41049343146a (diff)
parentfbb4e1ca73fd39ce9f18fa7c6f05766ccb0e484a (diff)
downloadopenshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.gz
openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.bz2
openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.xz
openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.zip
Merge pull request #6302 from sosiouxme/20170817-add-retries
retry package operations
Diffstat (limited to 'roles/nickhammond.logrotate/tasks')
-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: