From 12b17e1af352748d00d8ba2cf3b99a623ec61641 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Sat, 15 Oct 2016 09:34:19 -0400 Subject: Default [] --- roles/nickhammond.logrotate/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/nickhammond.logrotate/tasks/main.yml') 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 -- cgit v1.2.3