Commit graph

5475 commits

Author SHA1 Message Date
Olaf Kilian
9d39885d18 Adapt to new dockercfg file location and structure 2015-10-28 10:04:55 +01:00
Olaf Kilian
ef64423683 Make module importable for unit tests 2015-10-23 06:34:22 +02:00
Olaf Kilian
c3d15a56cf Set default for email parameter to None 2015-10-23 06:33:10 +02:00
Olaf Kilian
e86131c62f Add requirement for python >= 2.6 2015-10-23 06:29:39 +02:00
Olaf Kilian
85cc47c9e1 Default registry to docker hub 2015-10-23 06:28:28 +02:00
Olaf Kilian
3bcb24e656 Added more meaningful fail messages on Docker API 2015-05-07 09:36:32 +02:00
Olaf Kilian
30fa6e3ea4 Added default email address 2015-05-07 09:35:40 +02:00
Olaf Kilian
3d3efa3614 Removed unused import of sys module 2015-05-07 09:15:04 +02:00
Olaf Kilian
f5e7ce00e7 Extract only the hostname part from self.registry
This is needed for update_dockercfg() to register only the host part
of a specified registry URL in the .dockercfg.
2015-05-06 22:43:28 +02:00
Olaf Kilian
7a2a75f6c0 Remove registry from exit_json because misleading
docker-py is not returning the name of the registry
if already logged in. It can differ from the registry
specified by the user, which was return as registry.
2015-05-06 22:33:31 +02:00
Olaf Kilian
feb20eeadd Update PR based on review from @resmo 2015-05-06 22:28:36 +02:00
Olaf Kilian
772e92eca9 Add docker_login module
- Ansible version of "docker login" CLI command
- Persists Docker registry authentification in .dockercfg (only login once - no need to specify credentials over and over again anymore)
- Works for all other docker-py based modules (docker, docker_images) as well as the Docker CLI client
2015-05-03 17:13:34 +02: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
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
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
Brian Coca
732f1060e8 Merge pull request #390 from resmo/feature/cs_vmsnapshot
cloudstack: add new module cs_vmsnapshot
2015-04-21 14:49:16 -04:00
Brian Coca
3073449996 Merge pull request #375 from resmo/feature/cloudstack_ag
cloudstack: add new module cs_affinitygroup
2015-04-21 14:37:21 -04:00
Brian Coca
02242f5fca Merge pull request #374 from resmo/feature/cloudstack_sg_rule
cloudstack: add new module cs_securitygroup_rule
2015-04-21 14:33:45 -04:00
Brian Coca
82bdf562d2 Merge pull request #361 from resmo/feature/cloudstack_sg
cloudstack: add new module cs_securitygroup
2015-04-21 14:20:13 -04:00
Doug Luce
1fa73cd0a3 Add the cronvar module.
This manages environment variables in Vixie crontabs.  It includes
addition/removal/replacement of variables and ordering via the
insertbefore/insertafter parameters.
2015-04-21 18:02:33 +00:00
Joseph Callen
7458cdd722 New VMware Module to support adding a datacenter 2015-04-21 10:38:40 -04:00
Brian Coca
2c2a106321 Merge pull request #412 from mavit/pkg5-accept
Fix typo in pkg5 module
2015-04-20 15:28:53 -04:00
Peter Oliver
cb05f0834b Fix typo. 2015-04-20 19:52:31 +01:00
Brian Coca
579cc55cb7 Merge pull request #408 from bcoca/fix_known_hosts_24
fixed 2.4 compatibility
2015-04-20 13:21:52 -04:00
Brian Coca
3c9131b09c added aliases docs 2015-04-20 10:20:50 -04:00
Brian Coca
048a3b8062 Merge pull request #406 from rnowling/gluster-multiple-bricks
Issue #403: Add support for multiple bricks to gluster_volume
2015-04-20 10:16:52 -04:00
RJ Nowling
6d66beb793 Change 'brick' to 'bricks' and add 'brick' as an alias. Add example with multiple bricks. 2015-04-20 09:13:52 -05:00
Brian Coca
b870126f4b Merge pull request #409 from Jmainguy/glusterfs
Fixes bug where state=absent did not work in gluster_volume
2015-04-19 23:50:21 -04:00
Jonathan Mainguy
ae34395f01 Fixes bug where state=absent did not work 2015-04-19 15:29:30 -04:00
Brian Coca
118c79e335 Merge pull request #376 from mavit/pkg5-accept
Add an accept_licenses option to pkg5 module
2015-04-19 11:54:50 -04:00
Peter Oliver
9d720f52c8 Add an accept_licenses option to pkg5 module
This accepts any software licences required by the package.
2015-04-19 16:49:09 +01:00
Brian Coca
2535a49284 fixed 2.4 compatibility 2015-04-18 21:50:06 -04:00
RJ Nowling
20d998a6d6 Improve documentation for gluster_volume brick parameter 2015-04-17 14:59:10 -05:00
RJ Nowling
c7853c9f08 Issue #403: Add support for multiple bricks to gluster_volume 2015-04-17 14:48:53 -05:00
Brian Coca
2f4fa76298 Merge pull request #402 from ndonegan/devel
sys.exit used, but not imported.
2015-04-16 15:15:22 -04:00
Brian Coca
698098ae57 doc update for zypper 2015-04-16 09:45:23 -04:00
Brian Coca
d24e50ed1a Merge pull request #368 from greghaynes/feature/zypper-install-type
Add type property to zypper
2015-04-16 08:46:12 -04:00
Niall Donegan
b125d2685a Handle missing module with fail_json 2015-04-15 17:07:18 +01:00
Niall Donegan
b4ad532248 sys.exit used, but not imported. 2015-04-15 16:15:31 +01:00
Toshio Kuratomi
df7fcc90d9 Merge pull request #401 from mscherer/fix_385
Expand user in path, fix #385
2015-04-15 03:31:02 -07:00
Michael Scherer
9ba0f9f572 Expand user in path, fix #385 2015-04-14 18:48:36 -04:00