diff options
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 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 |