Commit graph

140 commits

Author SHA1 Message Date
Greg DeKoenigsberg
612ba118e0 Adding author's github id 2015-05-13 21:58:23 -04:00
Brian Coca
d035c1dd99 Merge pull request #226 from willybarro/pushbullet-module
Add pushbullet module
2015-05-13 20:01:27 -04:00
Willy Barro
a4232d657d Handle invalid api key and general api errors on pushbullet
pushbullet.py module has changed it's API and return types
so we're now handling these exceptions.
2015-05-13 20:45:50 -03:00
Willy Barro
318983ee53 Replace manual option check to mutually_exclusive AnsibleModule option
Also return the message "OK" when in check mode to use the same
message as the original success return.
2015-05-13 19:27:41 -03:00
Willy Barro
7ef07893ad Remove changed=True from pushbullet module
By convention, notification modules should not return changed=True
2015-05-13 19:27:38 -03:00
dhutty
33b845a14f Additional example, not using local_action 2015-05-12 12:43:33 -04:00
Brian Coca
a9910c7de5 Merge pull request #423 from JeanFred/hipchat-checkmode
Add check_mode support to HipChat module
2015-05-11 14:52:12 -04:00
Matt Martz
265fefd7ec Give pushover a .py file extension 2015-05-11 09:58:07 -05:00
Matt Martz
e568032bc3 Fix up modules that have python24 syntax error 2015-05-11 09:51:48 -05:00
Jean-Fred Berthelot
f0508fa30e Add check_mode support to HipChat module
The HipChat module declares to support check_mode,
but the message is sent in any case.

With this, if executed in check mode, the module will exit
before actually sending the message to HipChat.

It will return changed=False, as per the convention
for notifications modules.
2015-05-11 12:26:30 +01:00
Brian Coca
18711b32a9 Merge pull request #218 from wkf/patch-1
Allow sending direct messages with slack module
2015-05-08 15:00:26 -04:00
Brian Coca
0c716e0435 Merge pull request #367 from SDFE/devel
Import boto.ec2 in sns to allow boto profiles to be used
2015-05-04 10:02:35 -04:00
Matt Jaynes
39028d6cef Remove mentions of 'msg' alias 2015-04-22 22:23:07 +02:00
Matt Jaynes
a56c8ebff1 Document 'msg' param and fix examples
The 'msg' alias for 'subject' isn't in the documentation, so adding it.

In the gmail example, it uses both the 'subject' and 'msg' params, but 'msg' is an alias of 'subject', so you are essentially declaring the same param twice. If you use this example, then no subject is sent (I tested with gmail). Documentation example is updated to use 'body' as intended.

Also, updated the simple example to use 'subject' instead of the 'msg' alias since it is more explicit.
2015-04-22 21:14:47 +02:00
Matthew Makai
6522e4e016 updating main for loop based on @abadger code review 2015-04-13 12:06:27 -04:00
Matthew Makai
c72be32b94 fixing typo in documentation 2015-04-13 11:55:20 -04:00
Matthew Makai
9f4ad02469 updating twilio module to optionally support MMS 2015-04-13 11:42:50 -04:00
Matthew Makai
3e1ffd12c7 updating twilio module docs and making it possible to send to a list of phone numbers 2015-04-13 11:22:09 -04:00
Matthew Makai
2f2a69ad88 updating sendgrid module based on code review by @abadger 2015-04-13 10:25:24 -04:00
Matthew Makai
757a047a79 adding sendgrid module to extras 2015-04-13 10:04:10 -04:00
rhorer
14bb55e67e Update twilio.py module name in Examples 2015-04-10 15:27:34 -05:00
Joe Ray
42e761df4a Import boto.ec2 in sns to allow boto profiles to be used 2015-04-01 17:17:52 +01:00
Brian Coca
510b77ca0e minor documentation fixes 2015-03-29 16:51:30 -04:00
Brian Coca
8e1024ff30 updated pushover version added 2015-03-25 23:15:37 -04:00
Brian Coca
6dc9f4bdba Merge pull request #78 from weaselkeeper/devel
Pushover notification module
2015-03-25 23:12:36 -04:00
Brian Coca
671317e0e1 added version added to new color option 2015-03-25 23:07:45 -04:00
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
2015-03-25 23:06:50 -04:00
Brian Coca
2652d5daf6 Merge pull request #329 from uxp/patch-1
Fix typo in hipchat notification failure message.
2015-03-25 22:17:53 -04:00
Brian Coca
98683ebb18 Merge pull request #330 from bhcopeland/devel
Added example block for the "SMTP username and password"
2015-03-25 22:17:19 -04:00
Ben Copeland
b01c2cee66 Added example block for the "SMTP username and password" 2015-03-20 11:11:43 +00:00
HPLogsdon
c622c54e9e Fix typo in hipchat notification failure message.
Wish it could be more substantial, but alas, it's just a typo in a string.
2015-03-19 17:11:42 -06:00
Brian Coca
696bc60caa fixed doc issue (missing description and corrected version added) 2015-03-12 10:24:36 -04:00
Brian Coca
21ba3b3fa6 Merge pull request #42 from bhcopeland/devel
adding username/password support along with ssl/starttls to mail
2015-03-10 17:59:33 -04:00
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
2015-03-06 07:58:44 -08:00
Ben Copeland
57be6d7ac4 Catch the error for non-ssl SMTP 2015-03-05 13:27:49 +00:00
Willy Barro
c484d32a40 Add pushbullet module 2015-01-24 19:42:04 -02:00
Will
b1629ac77a Allow sending direct messages with slack module 2015-01-22 09:05:32 -05:00
Toshio Kuratomi
4b1184e3a1 Merge pull request #112 from josephtate/devel
Importing urllib so that the grove module can use it standalone.
2014-11-19 08:43:52 -08:00
Joseph Tate
b17a2598f8 Actually what we need is to import the urls utils 2014-11-18 03:41:57 -05:00
Joseph Tate
fb9f1cfaf3 If you're going to use urllib, you'd better import it 2014-11-18 02:59:18 -05:00
Toby Evans
513eadbd92 Update the webhook url
This change fixes the 404 seen with the current version.

fixes #100
2014-11-07 10:09:26 +13:00
Jim Richardson
b0ec83ef08 clarification of error and success messages 2014-10-19 21:19:25 -07:00
Jim Richardson
f0d81a5290 remove extraneous info from preamble 2014-10-19 14:57:10 -07:00
Jim Richardson
64242fb1a6 slight tweak to preamble to bring into common with other ansible modules 2014-10-19 14:55:46 -07:00
Jim Richardson
7c5d984557 initial stab at pushover notification module 2014-10-19 14:50:55 -07:00
Ben Copeland
e81570ad0a adding username/password support along with ssl/starttls 2014-10-02 15:05:15 +01:00
Michael DeHaan
110250d344 package files 2014-09-26 11:04:10 -04:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Michael DeHaan
50f105578a Restructuring. 2014-09-26 10:14:28 -04:00
Michael DeHaan
73123b69fa Move modules into subdirectory. 2014-09-26 09:23:50 -04:00