The below requirements are needed on the local master node that executes this callback.
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
channel - | Default: "#ansible" | ini entries: [callback_slack] env:SLACK_CHANNEL | Slack room to post in. |
username - | Default: "ansible" | ini entries: [callback_slack] env:SLACK_USERNAME | Username to post as. |
validate_certs boolean added in 2.8 |
| ini entries: [callback_slack] env:SLACK_VALIDATE_CERTS | validate the SSL certificate of the Slack server. (For HTTPS URLs) |
webhook_url - / required | ini entries: [callback_slack] env:SLACK_WEBHOOK_URL | Slack Webhook URL |
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/plugins/callback/slack.html