diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-10-17 10:43:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-17 10:43:16 -0400 |
commit | 844137e9e968fb0455b9cf5128342c3e449c8abb (patch) | |
tree | 070f227571aaeaf9d3b93d5dd13ed7842f697762 /roles/nickhammond.logrotate | |
parent | 94af651106711912a7bce866517af088f4d1d0bf (diff) | |
parent | 12b17e1af352748d00d8ba2cf3b99a623ec61641 (diff) | |
download | openshift-844137e9e968fb0455b9cf5128342c3e449c8abb.tar.gz openshift-844137e9e968fb0455b9cf5128342c3e449c8abb.tar.bz2 openshift-844137e9e968fb0455b9cf5128342c3e449c8abb.tar.xz openshift-844137e9e968fb0455b9cf5128342c3e449c8abb.zip |
Merge pull request #2608 from abutcher/template-with-items
Template with_items for upstream ansible-2.2 compat.
Diffstat (limited to 'roles/nickhammond.logrotate')
-rw-r--r-- | roles/nickhammond.logrotate/tasks/main.yml | 2 |
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..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 |