ansible-msmtp-mailer/handlers/main.yml
2018-05-07 16:30:52 +08:00

7 lines
200 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
when: msmtp_send_test_mail