community.general.slack callback – Sends play events to a Slack channel
This callback plugin is part of the community.general collection (version 6.6.2).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.general.
You need further requirements to be able to use this callback plugin,
see Requirements for details.
To use it in a playbook, specify:
This is an ansible callback plugin that sends status updates to a Slack channel during playbook execution.
Before Ansible 2.4 only environment variables were available for configuring this plugin.
The below requirements are needed on the local controller node that executes this callback.
whitelist in configuration
prettytable (python library)
Slack room to post in.
Username to post as.
Validate the SSL certificate of the Slack server for HTTPS URLs.
Slack Webhook URL.