ansible-msmtp-mailer/handlers/main.yml

6 lines
171 B
YAML
Executable File

---
# send test mail to admin
- name: test mail
shell: echo "Test mail from new/updated MSTMP at" `hostname -f` | mail root -s "Test SMTP at `hostname -f`"
tags: mail