Commit Graph

5 Commits (c3d15a56cf8f291e7c76587689feb250facddbcb)

Author SHA1 Message Date
Brian Coca 671317e0e1 added version added to new color option 10 years ago
Phillip Holmes d7030e9604 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
10 years ago
Toshio Kuratomi a5e0fc331d 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
10 years ago
Toby Evans 513eadbd92 Update the webhook url
This change fixes the 404 seen with the current version.

fixes #100
10 years ago
Michael DeHaan b1e789968b File extensions! 10 years ago