summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-10-15 09:34:19 -0400
committerGitHub <noreply@github.com>2016-10-15 09:34:19 -0400
commit12b17e1af352748d00d8ba2cf3b99a623ec61641 (patch)
tree6191b38f3f095350152b59b926c4e33144d7d490 /roles/nickhammond.logrotate/tasks
parent9570a621b2a04dfa6d67cf7c5a70c9e82f67e620 (diff)
downloadopenshift-12b17e1af352748d00d8ba2cf3b99a623ec61641.tar.gz
openshift-12b17e1af352748d00d8ba2cf3b99a623ec61641.tar.bz2
openshift-12b17e1af352748d00d8ba2cf3b99a623ec61641.tar.xz
openshift-12b17e1af352748d00d8ba2cf3b99a623ec61641.zip
Default []
Diffstat (limited to 'roles/nickhammond.logrotate/tasks')
-rw-r--r--roles/nickhammond.logrotate/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nickhammond.logrotate/tasks/main.yml b/roles/nickhammond.logrotate/tasks/main.yml
index 5060e8cd4..1979c851f 100644
--- a/roles/nickhammond.logrotate/tasks/main.yml
+++ b/roles/nickhammond.logrotate/tasks/main.yml
@@ -7,5 +7,5 @@
template:
src: logrotate.d.j2
dest: /etc/logrotate.d/{{ item.name }}
- with_items: "{{ logrotate_scripts }}"
+ with_items: "{{ logrotate_scripts | default([]) }}"
when: logrotate_scripts is defined