From fd0360506f8af67c4a8edf4db731b399f4a86a19 Mon Sep 17 00:00:00 2001 From: rubenb Date: Tue, 17 Oct 2023 11:02:02 +0200 Subject: [PATCH] update send mail --- .../roles/base-config-debian-os/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml b/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml index 12d61b3..e6f755c 100644 --- a/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml +++ b/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml @@ -150,6 +150,7 @@ lineinfile: path: /tmp/messagefileverify line: Verify send email from host {{ ansible_nodename }}'.verdnatura.es with mailx , bye. + create: yes # Send mail - name: sending mail to verify exim4 config works command: mailx -s "test mail verify exim4 for the host '{{ ansible_nodename }}'.verdnatura.es" -c rubenb@verdnatura.es,nada@verdnatura.es,davidl@verdnatura.es,juan@verdnatura.es informatica@verdnatura.es < /tmp/messagefileverify