ansible-msmtp-mailer/handlers/main.yml

9 lines
226 B
YAML
Raw Normal View History

2014-03-21 19:16:55 +00:00
---
# send test mail to admin
- name: test mail
shell: echo -e "Test mail from new/updated mSTMP\n\n $(uname -a)" | mail -s "Test mSMTP at $(hostname -f)" root
tags: mail
2018-05-07 08:30:52 +00:00
when: msmtp_send_test_mail
async: 30
poll: 5