ansible-msmtp-role/handlers/main.yml

5 lines
161 B
YAML
Raw Normal View History

2014-03-21 20:16:55 +01:00
---
# send test mail to admin
- name: test mail
shell: echo "Test mail from new/updated MSTMP at" `hostname` | mail root -s "Test SMTP `hostname`"
tags: mail