|
@@ -7,5 +7,5 @@
|
|
template:
|
|
template:
|
|
src: logrotate.d.j2
|
|
src: logrotate.d.j2
|
|
dest: /etc/logrotate.d/{{ item.name }}
|
|
dest: /etc/logrotate.d/{{ item.name }}
|
|
- with_items: "{{ logrotate_scripts }}"
|
|
|
|
|
|
+ with_items: "{{ logrotate_scripts | default([]) }}"
|
|
when: logrotate_scripts is defined
|
|
when: logrotate_scripts is defined
|