update send mail
This commit is contained in:
parent
a4b9981127
commit
fd0360506f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue