change mail dest for exim4 verify

This commit is contained in:
Ruben Blanco 2023-10-18 14:18:20 +02:00
parent dcfbdfe5c6
commit 9b2321d781
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@
# create: yes # create: yes
# Send mail with module shell (shell module accepts pipes "|" , command module dont accept pipes) # Send mail with module shell (shell module accepts pipes "|" , command module dont accept pipes)
- name: sending mail to verify exim4 config works - name: sending mail to verify exim4 config works
shell: echo "Verify send email from host {{ ansible_nodename }}.verdnatura.es with mailx , bye." | mailx -s "test mail verify exim4 for the host {{ ansible_nodename }}.verdnatura.es" -c rubenb@verdnatura.es,nada@verdnatura.es,juan@verdnatura.es,davidl@verdnatura.es informatica@verdnatura.es shell: echo "Verify send email from host {{ ansible_nodename }}.verdnatura.es with mailx , bye." | mailx -s "test mail verify exim4 for the host {{ ansible_nodename }}.verdnatura.es" -c rubenb@verdnatura.es,nada@verdnatura.es,juan@verdnatura.es,davidl@verdnatura.es sysadmin@verdnatura.es
when: exim4_config.changed when: exim4_config.changed
# Delete tmp file /tmp/messagefileverify # Delete tmp file /tmp/messagefileverify
#- name: delete tmp file /tmp/messagefileverify #- name: delete tmp file /tmp/messagefileverify