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, 1 insertions, 1 deletions
diff --git a/roles/nickhammond.logrotate/tasks/main.yml b/roles/nickhammond.logrotate/tasks/main.yml
index e2c51a903..5060e8cd4 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 }}"
when: logrotate_scripts is defined