Add option not to send test mail

This commit is contained in:
Unknown 2018-05-07 16:30:52 +08:00
parent 83f5e2eb95
commit 4cf7814d74

View file

@ -3,3 +3,4 @@
- name: test mail - name: test mail
shell: echo "Test mail from new/updated MSTMP at" `hostname -f` | mail root -s "Test SMTP at `hostname -f`" shell: echo "Test mail from new/updated MSTMP at" `hostname -f` | mail root -s "Test SMTP at `hostname -f`"
tags: mail tags: mail
when: msmtp_send_test_mail