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