Commit Graph

13 Commits (6d69956f83172f5e6b15103e7203ea0d0cce87b4)

Author SHA1 Message Date
Ramon de la Fuente 1d09eaf6d0 updated the examples to the new Slack API 2016-12-08 11:33:26 -05:00
Ramon de la Fuente 918012a42f module guidelines compliency 2016-12-08 11:33:26 -05:00
Stefan Berggren aeb1090542 Add attachments support to slack module. 2016-12-08 11:33:26 -05:00
Brian Coca 1a8c6d552c make token no_log in slack plugin 2016-12-08 11:32:59 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Matt Martz 8bd5757720 Fix up modules that have python24 syntax error 2016-12-08 11:32:36 -05:00
Will f6de67e17f Allow sending direct messages with slack module 2016-12-08 11:32:35 -05:00
Brian Coca 8a785700c3 added version added to new color option 2016-12-08 11:32:29 -05:00
Phillip Holmes 66aa605367 added color bar option to Slack module
This update will allow people to add a color bar at the front of a
Slack notification using the default 3 colors by name Slack specify
(good, warning, danger).

If no color is specified, or the default is used (normal) then no bar
will be added.

Description and example also added in this update.

Color bars are added by using the attachments json object inside the
payload - this is a very simplistic implementation as using custom
colors or adding titles or other formatting are not included in this
update and if needed I’m sure somebody else can spend the time to add
them later…

Tested with ansible 1.7
2016-12-08 11:32:29 -05:00
Toshio Kuratomi e00462712d The old slack webhook API still works. It's just deprecated by slack.
Analyze the given token and use the old webhook format if the token
is old style and use the new format if the token is new style.  Make
domain optional with new-style tokens.

Fixes #157
2016-12-08 11:32:27 -05:00
Toby Evans 7685d60c58 Update the webhook url
This change fixes the 404 seen with the current version.

fixes #100
2016-12-08 11:32:20 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00