ansible-msmtp-mailer/handlers/main.yml

7 lines
200 B
YAML
Raw Normal View History

2014-03-21 19:16:55 +00:00
---
# 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
2018-05-07 08:30:52 +00:00
when: msmtp_send_test_mail