Commit graph

237 commits

Author SHA1 Message Date
Stefan Berggren
fbac5a140e Add attachments support to slack module. 2015-07-11 10:58:30 +02:00
Rene Moser
795425f32d irc: remove version_added for nick option, should have been nick_to option 2015-07-09 09:43:26 +02:00
Brian Coca
13a3e38a11 make token no_log in slack plugin 2015-07-08 13:13:38 -04:00
René Moser
5fec1e3994 irc: add version_added to new option nick 2015-07-08 12:56:45 +02:00
Toshio Kuratomi
8131bd3030 Documentation update 2015-07-07 10:49:43 -07:00
Adrian Muraru
2dd32236eb Implemented comments 2015-07-07 13:35:38 +03:00
Adrian Muraru
9fa5152a94 Add option to send a private message in irc module 2015-07-07 13:35:38 +03:00
Igor Khomyakov
bbb578ac59 fix user notification for v2 api
`notify` parameter is not working as expected for hipchat API v2.
2015-07-02 14:17:56 +03:00
Toshio Kuratomi
955bf92ff8 Add version_added to the subtype parameter 2015-06-25 06:53:28 -07:00
Arnaud Dematte
f1e3260b3f Update mail.py to allow html content
Adding parameter subtype to allow html based content. The default behavior of text/plain has been preserved.
2015-06-24 12:14:56 +02:00
Toshio Kuratomi
dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 2015-06-19 09:07:04 -07:00
Toshio Kuratomi
4b29146c4d be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
2015-06-19 09:01:08 -07:00
Brian Coca
35a4e70dee minor fixes 2015-06-19 11:00:58 -04:00
Brian Coca
95434149d3 Merge pull request #199 from bkimble/devel
added hall.com notification module
2015-06-17 12:39:26 -04:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
David Siefert
3bd19b8ea0 Adding support for setting the topic of a channel 2015-06-16 11:33:16 -04:00
Brian Coca
eec8dca006 added copyright/license info to modules I had missed 2015-06-16 11:33:13 -04:00
Paul Bourdel
9c0cf447bd removing unnecessary white space 2015-05-15 15:57:10 -05:00
Paul Bourdel
aa93ff944a fixing grammar on error message 2015-05-15 15:56:06 -05:00
Paul Bourdel
452a590af8 adding author username 2015-05-15 15:54:53 -05:00
Paul Bourdel
98e3ee36b7 adding new line to end of file 2015-05-15 15:54:07 -05:00
Paul Bourdel
0a1784736c adding check for module.check_mode to v2 message method 2015-05-15 15:46:08 -05:00
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