comment send mail

This commit is contained in:
Ruben Blanco 2023-10-16 08:33:12 +02:00
parent c626572c58
commit f79e2ae7a2
1 changed files with 10 additions and 10 deletions

View File

@ -77,16 +77,16 @@
notify: Restart exim4 service
# Send mail to verify relay-host
- name: sending mail to verify exim4 config works
mail:
host: smtp.verdnatura.es
port: 465
subject: Verify Ansible playbook deployment exim4
body: Hello , this is an e-mail to verify exim4 config works on {{ ansible_facts['ansible_nodename'] }}
to:
- informatica@verdnatura.es
- rubenb@verdnatura.es
delegate_to: localhost
#- name: sending mail to verify exim4 config works
# mail:
# host: smtp.verdnatura.es
# port: 465
# subject: Verify Ansible playbook deployment exim4
# body: Hello , this is an e-mail to verify exim4 config works on {{ ansible_facts['ansible_nodename'] }}
# to:
# - informatica@verdnatura.es
# - rubenb@verdnatura.es
# delegate_to: localhost
##
# configure centralized authentication