The M(slack) module sends notifications to U( via the Incoming WebHook integration


domain Slack (sub)domain for your environment without protocol. (i.e. C( In 1.8 and beyond, this is deprecated and may be ignored. See token documentation for information.
token Slack integration token. This authenticates you to the slack service. Prior to 1.8, a token looked like C(3Ffe373sfhRE6y42Fg3rvf4GlK). In 1.8 and above, ansible adapts to the new slack API where tokens look like C(G922VJP24/D921DW937/3Ffe373sfhRE6y42Fg3rvf4GlK). If tokens are in the new format then slack will ignore any value of domain. If the token is in the old format the domain is required. Ansible has no control of when slack will get rid of the old API. When slack does that the old format will stop working. true
msg Message to send.
channel Channel to send the message to. If absent, the message goes to the channel selected for the I(token).
username This is the sender of the message.
icon_url Url for the message sender's icon (default C(
icon_emoji Emoji for the message sender. See Slack documentation for options. (if I(icon_emoji) is set, I(icon_url) will not be used)
link_names Automatically create links for channels and usernames in I(msg).
  • 1
  • 0
parse Setting for the message parser at Slack
  • full
  • none
validate_certs If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
  • yes
  • no
color Allow text to use default colors - use the default of 'normal' to not send a custom color bar at the start of the message
  • normal
  • goodwarningdanger
attachments Define a list of attachments. This list mirrors the Slack JSON API. For more information, see


Ramon de la Fuente (@ramondelafuente)