diff --git a/tasks/nullmailer.yml b/tasks/nullmailer.yml index c8f056c..4637f27 100644 --- a/tasks/nullmailer.yml +++ b/tasks/nullmailer.yml @@ -5,7 +5,7 @@ notify: restart nullmailer copy: dest: "{{ item.dest }}" - content: "{{ mail.root }}" + content: "{{ item.content }}" with_items: - {"dest": "/etc/nullmailer/adminaddr", content: "{{ mail.root }}"} - {"dest": "/etc/nullmailer/remotes", content: "{{ mail.server }}"}