Commit graph

5660 commits

Author SHA1 Message Date
Matt Martz
a258606694 Use try/finally with file opening to close the file 2015-05-11 10:29:28 -05:00
Matt Martz
c8bd663548 Exclude consul modules from py24 syntax check 2015-05-11 10:20:54 -05:00
Matt Martz
1b3b0caa51 Give consul modules a .py extension 2015-05-11 10:09:56 -05: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
Ian Cordasco
deb11be684 Interpolate container name into error message
In the event failed to start, the container name was not being properly
interpolated into the error message.
2015-05-08 21:18:59 -05:00
Toshio Kuratomi
19b345932a Merge pull request #465 from sivel/python24-compat-test
Add test validating if modules are python24 compatible
2015-05-08 13:03:36 -07:00
Brian Coca
b89532cd21 Merge pull request #454 from jeffrizzo/pkgin-fix
Support both new and old pkgin versions by testing if '-p' flag exists.
2015-05-08 15:51:24 -04:00
Brian Coca
42f3df3862 Merge pull request #443 from resmo/feature/cs_instancegroup
cloudstack: new module cs_instancegroup
2015-05-08 15:06:42 -04: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
Matt Martz
2c4ea93771 Add compileall testing via travis to validate modules are python24 compatible 2015-05-08 13:42:20 -05:00
Jeff Rizzo
d8d1ca85df Support both new and old pkgin versions by testing if '-p' flag exists. 2015-05-06 11:41:12 -07:00
Nick Harring
c0ca227717 PEP-8 style fixes 2015-05-06 09:43:38 -07:00
Toshio Kuratomi
66a96ad6e2 Merge pull request #453 from julienvey/patch-1
[homebew_cask] Be consistent in the documentation
2015-05-06 06:48:24 -07:00
Rene Moser
a52a4b33e7 cloudstack: new module cs_instancegroup 2015-05-06 14:53:56 +02:00
Julien Vey
34b81a8756 [homebew_cask] Be consistent in the documentation
The documentation for the `state` field is not very clear. 

It says possible values are "installed, uninstalled" and default value is "present"
The examples below alow uses `present` and `absent`.

This patch uses "absent" and "present" instead of "installed" and "uninstalled"

Moreover, this is consistent with other packaging modules, like homebrew itself
2015-05-06 10:48:28 +02:00
Brian Coca
3d00e1c5d1 Merge pull request #452 from zyegfryed/patch-1
Typo
2015-05-05 11:03:36 -04:00
Sébastien Fievet
4e21eb09db Typo 2015-05-05 16:58:25 +02:00
Brian Coca
fd63c5f612 Merge pull request #451 from resmo/fix/cloudstack-doc2
cloudstack: fix missing doc fragment in cs_securitygroup_rule
2015-05-05 10:19:03 -04:00
Rene Moser
8438ef995e cloudstack: fix missing doc fragment in cs_securitygroup_rule 2015-05-05 16:17:05 +02:00
Brian Coca
1b20b91282 Merge pull request #450 from resmo/fix/cloudstack-doc-fragments
cloudstack: fix missing doc fragments
2015-05-05 10:05:47 -04:00
Rene Moser
dfa9037091 cloudstack: fix missing doc fragments 2015-05-05 15:57:54 +02:00
Brian Coca
ee7f6bbae1 Merge pull request #449 from resmo/fix/cloudstack-doc
cloudstack: doc fixes
2015-05-05 09:49:14 -04:00
Rene Moser
1e744a885a cloudstack: doc fixes 2015-05-05 15:32:06 +02:00
Brian Coca
2690f096a4 Merge pull request #447 from swindmill/devel
Allow for specifying name instead of host as per the documentation
2015-05-04 17:12:58 -04:00
Toshio Kuratomi
28b0f3ce13 Fix documentation formatting 2015-05-04 13:24:21 -07:00
Sterling Windmill
7c675705f3 Allow for specifying name instead of host as per the documentation at http://docs.ansible.com/known_hosts_module.html 2015-05-04 15:57:40 -04:00
Brian Coca
70ea058563 Merge pull request #427 from resmo/fix/cs_vmsnapshot_missing_zone
cloudstack: fix missing zone param used in get_vm() in utils
2015-05-04 10:33:23 -04:00
Brian Coca
b50dd25343 Merge pull request #426 from resmo/feature/cs_instance
cloudstack: add new module cs_instance
2015-05-04 10:32:42 -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
Rene Moser
0b18bdc57f cloudstack: add new module cs_instance
Manages instances and virtual machines
2015-05-03 12:06:11 +02:00
Brian Coca
495ad450e5 Merge pull request #439 from rramthun/portage-remove-ask-on-sync
disable ask on sync operation
2015-05-01 16:31:23 -04:00
Roland Ramthun
69e27f4039 disable ask on sync action 2015-05-01 10:01:56 +02:00
Nick Harring
dd02f24df9 Added Epic copyright notice, clarified examples. 2015-04-30 10:16:26 -07:00
Brian Coca
dd80fa221c Merge pull request #437 from rosowiecki/devel
Using get_bin_path to find rmmod and modprobe
2015-04-30 11:54:17 -04:00
Robert Osowiecki
4ffb5f065b Using get_bin_path to find rmmod and modprobe 2015-04-30 17:50:07 +02:00
Nick Harring
650b6e9b4f Initial public revision. 2015-04-29 14:26:16 -07:00
Toshio Kuratomi
764a0e26b6 doc formatting 2015-04-28 11:12:34 -07:00
Brian Coca
bef4eee0aa Merge pull request #225 from sgargan/consul
Ansible support Consul
2015-04-27 12:17:31 -04:00
Steve Gargan
3a6f57cbc0 use module.fail_json to report import errors. document valid duration units 2015-04-27 13:40:21 +01:00
Rene Moser
b0fb6b08a9 cloudstack: fix misssing doc about vm param 2015-04-27 00:06:42 +02:00
Rene Moser
ef019e6163 cloudstack: fix missing zone param used in get_vm() in utils 2015-04-27 00:05:41 +02:00
Steve Gargan
3900643352 documentation tweaks to fix missing arguments and specification of defaults 2015-04-26 22:27:53 +01:00
Brian Coca
b544431a18 Merge pull request #417 from nanobeep/patch-1
Document mail module's 'msg' param and fix examples
2015-04-22 16:27:25 -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
Brian Coca
3148aafa17 moved new module to proper subdir
fixed doc issues
minor code adjustments
2015-04-22 10:18:34 -04:00
Brian Coca
038b76d1de Merge pull request #415 from jcpowermac/add_vmware_datacenter_module
New VMware Module to support adding a datacenter
2015-04-22 10:08:25 -04:00
James Cammarata
db64a6b584 Merge pull request #416 from dougluce/devel
A module to manage global environment variables in crontabs
2015-04-21 13:55:36 -05:00