Toshio Kuratomi
5afc244147
Modify a few more modules to not conditionalize urllib(2) import.
2016-12-08 11:32:52 -05:00
Toshio Kuratomi
16bd2c7357
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
2016-12-08 11:32:52 -05:00
Billy Kimble
c2ff48bfe1
added hall.com notification module
2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
David Siefert
09c5efb5b8
Adding support for setting the topic of a channel
2016-12-08 11:32:49 -05:00
Brian Coca
25f423e42f
added copyright/license info to modules I had missed
2016-12-08 11:32:46 -05:00
Paul Bourdel
e00df23070
removing unnecessary white space
2016-12-08 11:32:40 -05:00
Paul Bourdel
2177ff1546
adding author username
2016-12-08 11:32:40 -05:00
Toshio Kuratomi
4f07e8b256
Many more doc fixes
2016-12-08 11:32:40 -05:00
Brian Coca
d344a3fde3
more string corrections
2016-12-08 11:32:39 -05:00
Willy Barro
bab763de89
Fix pushbullet compatibility with python 2.6
...
Remove dict comprehension usage.
2016-12-08 11:32:39 -05:00
Brian Coca
2753cd186a
moar quotes
2016-12-08 11:32:39 -05:00
Willy Barro
c19a892dd0
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.
2016-12-08 11:32:39 -05:00
Willy Barro
8a9d932c94
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.
2016-12-08 11:32:39 -05:00
Willy Barro
b3e061ee7a
Remove changed=True from pushbullet module
...
By convention, notification modules should not return changed=True
2016-12-08 11:32:39 -05:00
Willy Barro
2274568008
Add pushbullet module
2016-12-08 11:32:39 -05:00
dhutty
d0afdd0f5d
Additional example, not using local_action
2016-12-08 11:32:37 -05:00
Jean-Fred Berthelot
ae5fed65f2
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.
2016-12-08 11:32:36 -05:00
Matt Martz
7fae20f112
Give pushover a .py file extension
2016-12-08 11:32:36 -05:00
Matt Martz
8bd5757720
Fix up modules that have python24 syntax error
2016-12-08 11:32:36 -05:00
Paul Bourdel
a03da8d592
Rewriting to use default ansible http libraries.
2016-12-08 11:32:36 -05:00
Paul Bourdel
ca28acd07a
Changing from v1 to v2 hipchat api format.
2016-12-08 11:32:36 -05:00
Will
f6de67e17f
Allow sending direct messages with slack module
2016-12-08 11:32:35 -05:00
Joe Ray
a91c8caee0
Import boto.ec2 in sns to allow boto profiles to be used
2016-12-08 11:32:35 -05:00
Matt Jaynes
6662b9ccef
Remove mentions of 'msg' alias
2016-12-08 11:32:34 -05:00
Matt Jaynes
94f581b83a
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.
2016-12-08 11:32:34 -05:00
Matthew Makai
065b2fe309
updating main for loop based on @abadger code review
2016-12-08 11:32:33 -05:00
Matthew Makai
6db9b2beda
fixing typo in documentation
2016-12-08 11:32:33 -05:00
Matthew Makai
dbb50a62ef
updating twilio module to optionally support MMS
2016-12-08 11:32:33 -05:00
Matthew Makai
9d1a52e902
updating twilio module docs and making it possible to send to a list of phone numbers
2016-12-08 11:32:33 -05:00
Matthew Makai
1ce89d9f17
updating sendgrid module based on code review by @abadger
2016-12-08 11:32:33 -05:00
Matthew Makai
cbb5689e91
adding sendgrid module to extras
2016-12-08 11:32:33 -05:00
rhorer
927fb145b3
Update twilio.py module name in Examples
2016-12-08 11:32:32 -05:00
Brian Coca
caeeacd4f4
minor documentation fixes
2016-12-08 11:32:30 -05:00
Brian Coca
9fd9f3766e
updated pushover version added
2016-12-08 11:32:29 -05:00
Jim Richardson
5edd0274de
clarification of error and success messages
2016-12-08 11:32:29 -05:00
Jim Richardson
34f2ebc0ab
remove extraneous info from preamble
2016-12-08 11:32:29 -05:00
Jim Richardson
becbf95d5d
slight tweak to preamble to bring into common with other ansible modules
2016-12-08 11:32:29 -05:00
Jim Richardson
d7fcefac32
initial stab at pushover notification module
2016-12-08 11:32:29 -05:00
Brian Coca
8a785700c3
added version added to new color option
2016-12-08 11:32:29 -05:00
Phillip Holmes
66aa605367
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
2016-12-08 11:32:29 -05:00
HPLogsdon
8efd7d217e
Fix typo in hipchat notification failure message.
...
Wish it could be more substantial, but alas, it's just a typo in a string.
2016-12-08 11:32:28 -05:00
Ben Copeland
770bf6b35f
Added example block for the "SMTP username and password"
2016-12-08 11:32:28 -05:00
Brian Coca
1537c297b3
fixed doc issue (missing description and corrected version added)
2016-12-08 11:32:28 -05:00
Ben Copeland
85f159eda3
Catch the error for non-ssl SMTP
2016-12-08 11:32:28 -05:00
Ben Copeland
cf941fc23a
adding username/password support along with ssl/starttls
2016-12-08 11:32:28 -05:00
Toshio Kuratomi
e00462712d
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
2016-12-08 11:32:27 -05:00
Joseph Tate
5faecb76ae
Actually what we need is to import the urls utils
2016-12-08 11:32:20 -05:00
Joseph Tate
b75c10d5ea
If you're going to use urllib, you'd better import it
2016-12-08 11:32:20 -05:00
Toby Evans
7685d60c58
Update the webhook url
...
This change fixes the 404 seen with the current version.
fixes #100
2016-12-08 11:32:20 -05:00
Michael DeHaan
7ba58f93a0
package files
2016-12-08 11:32:18 -05:00
Michael DeHaan
5879c503bb
File extensions!
2016-12-08 11:32:18 -05:00
James Cammarata
d4b117843a
Copying snapshot of extras modules
2016-12-08 11:32:07 -05:00