summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-27 11:28:08 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-27 11:28:08 -0500
commit27c32e83c86339d6cf26afc7dc49c2e1fcf74426 (patch)
tree5934ee99ad5f32ec45c97e34db1b5b3228904033 /roles/nickhammond.logrotate
parentbb8983fcfaecec5b156cee99dfe2feca5f8d3800 (diff)
downloadopenshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.tar.gz
openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.tar.bz2
openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.tar.xz
openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.zip
Configure logrotate on atomic.
Diffstat (limited to 'roles/nickhammond.logrotate')
-rw-r--r--roles/nickhammond.logrotate/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/nickhammond.logrotate/tasks/main.yml b/roles/nickhammond.logrotate/tasks/main.yml
index 0a0cf1fae..e2c51a903 100644
--- a/roles/nickhammond.logrotate/tasks/main.yml
+++ b/roles/nickhammond.logrotate/tasks/main.yml
@@ -1,6 +1,7 @@
---
- name: nickhammond.logrotate | Install logrotate
action: "{{ ansible_pkg_mgr }} name=logrotate state=present"
+ when: not openshift.common.is_atomic | bool
- name: nickhammond.logrotate | Setup logrotate.d scripts
template: