summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-14 17:31:36 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-14 17:31:36 -0400
commit9570a621b2a04dfa6d67cf7c5a70c9e82f67e620 (patch)
tree48e7a9e19f957aa51181d1c990956825d974fd19 /roles/nickhammond.logrotate/tasks
parentbef26dc9429b3c450c572850544d4e10e3e9ad2c (diff)
downloadopenshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.tar.gz
openshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.tar.bz2
openshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.tar.xz
openshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.zip
Template with_items for upstream ansible-2.2 compat.
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 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