Commit graph

179 commits

Author SHA1 Message Date
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
Ramon de la Fuente
e15af949a8 A module for notifications through the Slack.com platform
This module can send messages through Slack.com, and supports all options
available in the "incoming webhook integration".

- text
- channel
- username
- icon_url / icon_emoji
- link_names
- parse
2014-03-18 04:46:08 +01:00
Michael DeHaan
28bd2ba271 Bump twilio module version_added, changelog. 2014-03-16 16:48:41 -04:00
Matthew Makai
58b0ee4920 adding twilio module for sending text notifications in build process 2014-03-16 16:48:41 -04:00
Matthew Makai
940eb5bebf new module to send text message notifications 2014-03-16 16:47:49 -04:00
Michael DeHaan
e3c800bfd4 Merge pull request #5758 from drawks/devel
Correct sleep calls
2014-03-16 15:40:28 -05:00
Michael DeHaan
ca0f0a0e48 Merge pull request #6062 from jpmens/mqttpaho
module update: mqtt notification now uses Paho as mosquitto.py being deprecated
2014-03-16 15:21:34 -05:00
Michael DeHaan
9a0e2afe08 Merge pull request #6375 from sivel/nexmo
New module: nexmo
2014-03-16 14:34:18 -05:00
Michael DeHaan
c47a4c7463 Merge pull request #6289 from rawtaz/fix-irc-nicklen
Make irc module accept the nick being shortened by the server.
2014-03-16 12:39:48 -05:00
Matt Martz
4f3f2e0f95 New module: nexmo 2014-03-14 11:06:25 -05:00
James Cammarata
72217c297d Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
James Tanner
fc33860e5d Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
James Cammarata
a1b1182662 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
2014-03-10 16:06:52 -05:00
Leo R. Lundgren
7d7fd7b9a4 Fix whitespace (tabs -> spaces). 2014-03-05 05:12:21 +01:00
Leo R. Lundgren
e02efb4cf2 Make irc module accept the nick being shortened by the server.
This can happen if the server has a NICKLEN setting which is less
than the length of the specified nick. With this patch we now grab
that nick and use it moving forward, instead of failing because we
didn't get back the one we specified, in the connection response.
2014-03-05 04:39:08 +01:00
Jan-Piet Mens
0226e98dbf module update: mqtt notification now uses Paho as mosquitto.py being deprecated 2014-02-19 14:53:45 +01:00
Michael DeHaan
0d3a74d905 ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
someda
d8ce2445dd Add typetalk notification module 2014-01-25 15:11:13 +09:00
Dave Rawks
80c1c58d7e Correct sleep calls
Looks like we import "from time import sleep" but were calling "time.sleep" which is scoped into the wrong namespace.
2014-01-24 15:39:02 -08:00
zimbatm
9848d27f9f notify/grove: set the service to "ansible" by default 2014-01-21 12:44:21 +00:00
Nick Irvine
0a195f0880 Make default irc color none; add color none 2013-12-26 16:11:39 -08:00
Matt Martz
1d9dc6be56 module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 2013-12-06 11:42:30 -06:00
Matt Martz
99bacf7fff Try to follow RFC2812 for waiting on serverl welcome and join messages before performing more tasks 2013-12-06 11:42:30 -06:00
James Tanner
4f9aadcc07 Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Michael DeHaan
08996d78d6 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
2013-11-18 18:55:49 -05:00
Jonas Pfenniger
d1859fd53c Adds a grove notifier module 2013-11-08 11:21:46 +00:00
Michael DeHaan
beae21dd40 Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
Michael DeHaan
b8f821f065 Add "from" as an alias to "msg_from" in the hipchat module, to match docs. 2013-10-07 08:15:11 -04:00
Lukasz Kawczynski
adbeffb714 Set default XMPP message type to 'chat'.
This enables sending messages to partychat-like services (e.g. im.partych.at).
This commit also fixes handling of 'to' argument for non-chatroom recipients.
2013-07-26 21:30:10 +01:00
Michael DeHaan
0043de915a Legacy variable usage. 2013-07-19 09:45:08 -04:00
Andrew Todd
bd9d3d4fdd Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable. 2013-07-17 16:37:04 -04:00
Kevin Montuori
ee399420b6 added a provision for passing a server password to IRC 2013-06-26 14:16:59 +00:00
Joshua Lund
132ca0b367 Fixed a few small typos 2013-06-18 12:26:40 -06:00
Jan-Piet Mens
98c1423269 Docs: consistently format playbook EXAMPLES 2013-06-17 08:53:46 +02:00
Jan-Piet Mens
3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Gavin McDonald
93b3a1c5ea quick and dirty fix for irc module - shadowIRCd discards unbuffered
input, and the extra channel hash on join wasn't helping either.
2013-06-05 17:12:44 -07:00