summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nickhammond.logrotate')
-rw-r--r--roles/nickhammond.logrotate/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/nickhammond.logrotate/tasks/main.yml b/roles/nickhammond.logrotate/tasks/main.yml
index fda23e05e..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}} pkg=logrotate state=present"
+ action: "{{ ansible_pkg_mgr }} name=logrotate state=present"
+ when: not openshift.common.is_atomic | bool
- name: nickhammond.logrotate | Setup logrotate.d scripts
template: