Commit graph

215 commits

Author SHA1 Message Date
Paul Bourdel
f5afe50d79 Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into feature/Upgrade-To-HipChat-V2-API 2015-05-15 15:45:06 -05:00
Paul Bourdel
6719cbc5a2 Rewriting to use default ansible http libraries. 2015-05-15 15:37:40 -05:00
Toshio Kuratomi
88eff11c04 Many more doc fixes 2015-05-15 12:12:26 -07:00
Brian Coca
08445418aa more string corrections 2015-05-14 10:45:32 -04:00
Brian Coca
9dd4e07fe9 Merge pull request #492 from willybarro/pushbullet-module-py26
Fix pushbullet compatibility with python 2.6
2015-05-14 09:33:46 -04:00
Brian Coca
edf519a0c2 moar quotes 2015-05-14 09:37:00 -04:00
Willy Barro
b1cbbcef4a Fix pushbullet compatibility with python 2.6
Remove dict comprehension usage.
2015-05-14 10:19:56 -03:00
Greg DeKoenigsberg
380a1ddf04 Adding author's github id 2015-05-13 23:47:03 -04:00
Greg DeKoenigsberg
0d20c00314 Adding author's github id 2015-05-13 23:46:11 -04:00
Greg DeKoenigsberg
173f06ea18 Adding author's github id 2015-05-13 23:45:01 -04:00
Greg DeKoenigsberg
5180a64745 Adding author's github id 2015-05-13 23:44:25 -04:00
Greg DeKoenigsberg
aefba2c00a Adding author's github id 2015-05-13 22:35:13 -04:00
Greg DeKoenigsberg
43465e1af2 Adding author's github id 2015-05-13 22:32:52 -04:00
Greg DeKoenigsberg
27e5950fd0 Adding author's github id 2015-05-13 22:31:48 -04:00
Greg DeKoenigsberg
79d7cdecd8 Adding author's github id 2015-05-13 22:30:09 -04:00
Greg DeKoenigsberg
9b051b8a96 Adding author's github id 2015-05-13 22:27:43 -04:00
Greg DeKoenigsberg
7c51f6f891 Adding author's github id 2015-05-13 22:11:22 -04:00
Greg DeKoenigsberg
ee5363930f Adding author's github id 2015-05-13 22:10:17 -04:00
Greg DeKoenigsberg
c5ec2e2f24 Adding author's github id 2015-05-13 22:09:07 -04:00
Greg DeKoenigsberg
51b1c843bb Adding author's github id 2015-05-13 22:08:00 -04:00
Greg DeKoenigsberg
a5ea6a611b Adding author's github id 2015-05-13 22:04:56 -04:00
Greg DeKoenigsberg
7cf6900008 Adding author's github id 2015-05-13 22:03:04 -04:00
Greg DeKoenigsberg
c3db70df10 Adding author's github id 2015-05-13 22:01:52 -04:00
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
Paul Bourdel
0fbce5f9dd Changing from v1 to v2 hipchat api format. 2015-05-10 19:39:26 -05: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
Billy Kimble
555ff23434 added hall.com notification module 2015-01-12 14:13:08 -08: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
James Cammarata
8ac6fbe312 Bumping version_added for use_ssl param in irc module 2014-08-08 19:43:20 -05:00
Andrew Hamilton
abcfc9a13d Added SSL support for IRC 2014-08-08 14:08:12 -07:00
Michael DeHaan
185d5a6221 Merge branch 'spelling' of git://github.com/cgar/ansible into devel
Conflicts:
	docsite/rst/guide_rax.rst
	plugins/callbacks/mail.py
2014-08-08 13:28:45 -04:00
Michael DeHaan
3a902e2b5b Merge pull request #7710 from brad/zounds
use the full list of available campfire sounds
2014-07-24 09:35:27 -04:00
Michael DeHaan
7e0e6569bc Merge pull request #8172 from phenomenes/channel-key-parameter
Adds channel key parameter
2014-07-17 08:14:26 -04:00
Jimena Cabrera-Notari
59a0d3a77b Adds channel key parameter 2014-07-16 21:44:52 +01:00
Brad Pitcher
65e0bffa8e use the full list of available campfire sounds
From the list found [here](http://www.emoji-cheat-sheet.com/)
2014-06-09 21:59:20 -07:00
Michael DeHaan
8c7cd604f0 Stackdriver module was in the wrong category, so moving. 2014-05-16 08:30:38 -04:00
James Cammarata
f75af83c63 Fixing a documentation error in the new stackdriver module 2014-05-01 11:44:31 -05:00
James Cammarata
e9e2b110a8 Minor fix to imports in new stackdriver module 2014-05-01 11:39:46 -05:00
Carlos E. Garcia
4dcaa9d9fb multiple spelling error changes 2014-04-29 10:41:05 -04:00
Ben Whaley
fb4cf9410b Updated to use fetch_url 2014-04-23 15:26:13 -07:00
Ben Whaley
6d00756863 Stackdriver code deploy and annotation module 2014-04-12 00:56:32 +00:00
Michael DeHaan
d2cef95001 Merge pull request #6740 from mjschultz/add-sns-notification
Add Amazon SNS notification plugin
2014-03-28 13:37:09 -04:00
Michael J. Schultz
9b9ac7aa96 Add some failure handling for region and publish 2014-03-28 11:08:50 -05:00
Michael J. Schultz
9b53809bc1 Add Amazon SNS notification plugin
- Supports a default message or a special message for any of SNS's
protocols (email, sqs, sms, http, https)
  - http://docs.aws.amazon.com/sns/latest/dg/PublishTopic.html
2014-03-28 08:28:37 -05:00
Brent Langston
1886ef40f1 Make the default URI a constant 2014-03-22 13:56:49 -04:00
Brent Langston
bf42535341 Allow custom hipchat urls 2014-03-21 23:22:05 -04:00
Michael DeHaan
1f25eb596f Fix documentation for twilio module. 2014-03-21 14:26:20 -04:00
Michael DeHaan
3fde0e3826 Add notes about new notification module. 2014-03-19 17:23:30 -04:00
Michael DeHaan
e20d173115 Merge branch 'devel' of git://github.com/tksmd/ansible into devel 2014-03-19 17:23:01 -04:00
Michael DeHaan
62ea445b47 Add note about IRC library default change. 2014-03-19 17:21:41 -04:00
Michael DeHaan
430969781c Merge pull request #5443 from nirvinehh/devel
irc module: Make default irc color none; add color none
2014-03-19 17:20:07 -04:00
patrickheeney
72014bce01 Fix domain name in slack module 2014-03-18 11:17:20 -07:00
Ramon de la Fuente
e1c622030c mandatory silly mistake 2014-03-18 04:59:15 +01:00