ansible / ansible.builtin / v2.9.27 / callback / slack Sends play events to a Slack channel | "added in version" 2.1 of ansible.builtin" Authors: unknownansible.builtin.slack (v2.9.27) — callback
pip
Install with pip install ansible==2.9.27
This is an ansible callback plugin that sends status updates to a Slack channel during playbook execution.
Before 2.4 only environment variables were available for configuring this plugin
channel: default: '#ansible' description: Slack room to post in. env: - name: SLACK_CHANNEL ini: - key: channel section: callback_slack username: default: ansible description: Username to post as. env: - name: SLACK_USERNAME ini: - key: username section: callback_slack webhook_url: description: Slack Webhook URL env: - name: SLACK_WEBHOOK_URL ini: - key: webhook_url section: callback_slack required: true validate_certs: default: true description: validate the SSL certificate of the Slack server. (For HTTPS URLs) env: - name: SLACK_VALIDATE_CERTS ini: - key: validate_certs section: callback_slack type: bool version_added: '2.8' version_added_collection: ansible.builtin