From d83264f9d2c080ef32668a8849511f43231c5e49 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 12 Dec 2014 14:44:20 +0100 Subject: Add more safeguard on file for missing variable --- roles/postfix/templates/local_recipient | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/postfix/templates/local_recipient') diff --git a/roles/postfix/templates/local_recipient b/roles/postfix/templates/local_recipient index 39d554e..1bf9788 100644 --- a/roles/postfix/templates/local_recipient +++ b/roles/postfix/templates/local_recipient @@ -1,4 +1,5 @@ +{% if local_users is defined %} {% for item in local_users %} {{ item }} OK {% endfor %} - +{% endif %} -- cgit