mail - Sends failure events via email
New in version 2.0.
Synopsis
- This callback will report failures via email
 
Requirements
The below requirements are needed on the local master node that executes this callback.
- whitelisting in configuration
 
Parameters
| Parameter | Choices/Defaults | Configuration | Comments | 
|---|---|---|---|
| bcc |    ini entries:   [callback_mail ]  |    BCC'd recipient   |  |
| cc |    ini entries:   [callback_mail ]  |    CC'd recipient   |  |
| mta |  Default: localhost   |     ini entries:   [callback_mail ] env:SMTPHOST   |    Mail Transfer Agent, server that accepts SMTP   |  
| mtaport |  Default: 25   |     ini entries:   [callback_mail ]  |    Mail Transfer Agent Port, port at which server SMTP   |  
| sender |    ini entries:   [callback_mail ]  |    Mail sender   |  |
| to |  Default: root   |     ini entries:   [callback_mail ]  |    Mail recipient   |  
Status
Author
- UNKNOWN
 
Hint
If you notice any issues in this documentation you can edit this document to improve it.
    © 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
    https://docs.ansible.com/ansible/2.5/plugins/callback/mail.html