From 59eb4f8df3ac8c58c28b2068678e1ce97dd58b6d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 2 Mar 2016 21:36:31 +0100 Subject: Ansible: Using bare variables is deprecated, and will be removed in a future release. --- roles/common/tasks/mail.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/common/tasks/mail.yml') diff --git a/roles/common/tasks/mail.yml b/roles/common/tasks/mail.yml index 273dc5c..cd3020b 100644 --- a/roles/common/tasks/mail.yml +++ b/roles/common/tasks/mail.yml @@ -10,7 +10,7 @@ postmulti: instance={{ postfix_instance[item].name }} group={{ postfix_instance[item].group | default('') }} register: r1 - with_items: postfix_instance.keys() | intersect(group_names) | list + with_items: "{{ postfix_instance.keys() | intersect(group_names) | list }}" notify: - Restart Postfix @@ -22,7 +22,7 @@ state=link force=yes register: r2 with_nested: - - postfix_instance.keys() | intersect(group_names) | list + - "{{ postfix_instance.keys() | intersect(group_names) | list }}" - [ 'dynamicmaps.cf', 'master.cf' ] notify: - Restart Postfix -- cgit v1.2.3