community / community.general / 1.3.11 / callback / slack Sends play events to a Slack channel Authors: Unknown (!UNKNOWN)community.general.slack (1.3.11) — callback
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
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