Commit graph

8057 commits

Author SHA1 Message Date
Will Rouesnel
7237798f20 docker: Fix state=reloaded to detect default LoggingDriver for docker
Previously the logging module hard coded the default logging driver. This means
if the docker daemon is started with a different logging driver, the ansible
module would continually restart it when run.

This fix adds a call to docker.Client.info(), which is inspected if a logging
driver is not supplied in the playbook, and the container only restarted if
the logging driver applied differs from the configured default.

In usage, this has solved issues with using alternative logging drivers.
2015-11-24 00:30:42 +11:00
Josh Rendek
ccc06636d7 Fix quote on grants of more than one word
Fixed a quote location on the grants composed of more than one word. Current docs will raise an error with a invalid privilege command.
2015-11-22 23:09:15 -05:00
Keith Hassen
39ef6a1a80 Fail if any group name is not resolved to an ID. 2015-11-22 22:07:47 -05:00
Brian Coca
0e043f8c58 Merge pull request #2505 from donckers/devel
Fix #822 - Correct failure to overwrite existing records
2015-11-20 17:22:22 -08:00
Brian Coca
6d722608d6 Merge pull request #2413 from raben2/devel
Absent Function was not working on user with login profile
2015-11-20 17:00:20 -08:00
Daniel Donckers
3b8147af30 Fixes #822 2015-11-20 14:55:39 -06:00
Brian Coca
1ff0704c0c Merge pull request #2486 from mcls/fix-copy-with-remote-src
Fix copy with the remote_src option
2015-11-20 11:59:32 -08:00
Toshio Kuratomi
0d68209ef7 Merge pull request #2500 from streeter/patch-1
Fix name of ssh_opts arg
2015-11-19 14:36:11 -08:00
Chris Streeter
13343a8888 Fix name of ssh_opts arg 2015-11-19 14:00:35 -08:00
Chris Church
ade721cc5d Remove note about only using win_copy for small files. 2015-11-18 17:52:05 -05:00
Brian Coca
88e0bfd75d Merge pull request #2492 from Shrews/os_user_group
Fix os_user_group module
2015-11-18 12:55:40 -08:00
Brian Coca
c978e260f9 Merge pull request #2493 from mriddlegsn/devel
Fixed error message: TypeError: fail_json() takes exactly 1 argument …
2015-11-18 12:52:59 -08:00
Brian Coca
1d6b31a90f fixed break order 2015-11-19 09:28:40 -08:00
Mike Riddle
062c7764e6 Fixed error message: TypeError: fail_json() takes exactly 1 argument (2 given) 2015-11-18 15:10:15 -05:00
David Shrewsbury
2a306c6b8c Fix os_user_group module
This module had a couple of errors in it. Also added check mode
support.
2015-11-18 15:03:07 -05:00
Tom Paine
4bc834485a Update ec2_elb_lb.py 2015-11-18 19:45:32 +00:00
Maarten Claes
e9c548da41 This fixes copy with the remote_src option
It was broken in 6e37f1dcef when the remote_src was added. Need to
pass the absolute path to copy2 instead of a tuple.
2015-11-18 13:12:59 +01:00
Brian Coca
2c92fc4d3c Merge pull request #2484 from bcoca/ec2_elb_get_really_all
Ec2 elb get really all items
2015-11-17 12:20:51 -08:00
Lee Hardy
ee0412c8b4 Merge branch 'devel' into mysql_anon_user 2015-11-17 09:09:05 +00:00
Chrrrles Paul
b1c0249045 Merge pull request #2409 from stewrutledge/reconfnetwork
Added support for reconfiguring network
2015-11-17 09:51:14 +08:00
Brian Coca
21f6390fa3 clarified set_fact function 2015-11-17 10:05:15 -08:00
Brian Coca
1258f82648 Merge pull request #2467 from cinek810/fix_ident
It may be string with int comparison, if ansible user specifies ident…
2015-11-13 14:57:21 -08:00
James Cammarata
572771d0b1 Version bump for new beta 2.0.0-0.5.beta3 2015-11-13 16:46:32 -05:00
Marcin Stolarek
b6223ca729 Save changes of special characters to rset, without that comparison rset.to_xml() == wanted_rset.to_xml() will fail if record contains * or @ characters. 2015-11-13 11:32:10 +01:00
Marcin Stolarek
3193961cf5 It may be string with int comparison, if ansible user specifies identifier as int 2015-11-13 10:45:27 +01:00
Brian Coca
98c5699a16 Merge pull request #2451 from jordidg/hostname_fact_update
Update facts when hostname is changed
2015-11-12 23:19:29 -08:00
nitzmahone
077f8131aa mark failed async_status as finished
Running async_status in an "until: result.finished" loop will mask a module failure (eg, traceback) with a
template failure, because the fail dict doesn't include "finished" (eg, you'll see "ERROR! The conditional check 'bogus_out.finished' failed. The error was: ERROR! error while evaluating conditional: bogus_out.finished ({% if bogus_out.finished %} True {% else %} False {% endif %}"). Because the failure dict still includes "failed: true",
this change has no effect on stoppage/failure reporting, it just prevents the common usage pattern from masking the underlying error message.
2015-11-12 16:19:52 -08:00
Brian Coca
6e37f1dcef fixed remote_src support, now actually copies and does not move 2015-11-12 09:39:37 -08:00
Steve Spencer
fc5da26dee Sync up with allowable docker volume mounting modes 2015-11-12 10:42:26 +02:00
Brian Coca
dcace5ecf8 Merge pull request #2452 from slimandslam/patch-1
Add rds restore example to list of examples
2015-11-11 15:51:00 -08:00
J Levitt
889274a525 Add rds restore example to list of examples
There was no db restore example. I've provided one that shows how to do the restore, then add a security group (you cannot add the security group during the restore step -- it has to be done in a modify step afterward). Also, I show how to get the endpoint.
2015-11-11 15:15:30 -06:00
Jordi De Groof
6584b59d91 Update facts when hostname is changed
ansible_hostname contains the unqualified hostname
2015-11-11 20:23:24 +01:00
Steve Spencer
2c95641d66 Add support for mounting host volumes with Z and z options 2015-11-11 16:44:01 +02:00
Rabenstein
83170f21e0 Merge branch 'devel' of https://github.com/raben2/ansible-modules-core into devel 2015-11-11 09:56:05 +01:00
Rabenstein
7d665db5e5 Squash of 3 commits for bugfix.
Absent unction was not working on user with login profile
also fixed the exception handling

fixed the delete user function
now works with or without loginprofile (password)

typo
2015-11-11 09:54:55 +01:00
Brian Coca
0e0f87be12 Merge pull request #2431 from tima/checksum_algo_alias
Added the checksum_algo alias to the stats module.
2015-11-10 09:46:23 -08:00
Brian Coca
fde6ee15d6 Merge pull request #2436 from emonty/fix-floating-ip-api
Use add_ips_to_server API
2015-11-09 09:36:16 -08:00
Monty Taylor
ccb39767cf Use add_ips_to_server API
This module is still using an old pre-release API and needs to update
to use the current API.

Co-Authored-By: Marton Kiss <marton.kiss@gmail.com>
2015-11-09 11:38:04 -05:00
Andy Nelson
9618986804 Update to ec2_vpc.py to:
1 allow interface ids and vpc peering connections as route targets
2 set state to "terminated" when VPC is removed
3 fix some comment typos

updates per PR comments
2015-11-08 18:35:27 +00:00
Timothy Appnel
ca12ed5d98 Added the checksum_algo alias to the stats module. 2015-11-07 18:16:20 -05:00
Brian Coca
e74dc8c1dd minor doc fixes 2015-11-07 08:23:57 -05:00
Toshio Kuratomi
f2943bd404 Add zfil as an owner of the docker module 2015-11-06 21:18:46 -08:00
Toshio Kuratomi
4ed7b690f6 Add a new contributor as a maintainer of the docker module 2015-11-06 10:53:33 -08:00
Toshio Kuratomi
750aa16a06 Merge pull request #2093 from zfil/fix_facts
docker module: fix regressions introduced by f38186c and 80aca4b
2015-11-06 10:20:20 -08:00
Tom Paine
dd26c37f6b Update ec2_elb_lb.py
add connection draining default
2015-11-06 17:43:24 +00:00
Toshio Kuratomi
77d3678acf Fix escaping of newline carriage return characters in the documentation 2015-11-06 09:32:06 -08:00
Will Thames
0dd58e9326 Use connect_to_aws where possible
`connect_to_aws` fixes a bug with security tokens in AWS.
Modules should use that rather than calling
`boto.x.connect_to_region`
2015-11-06 19:05:01 +10:00
Brian Coca
1f9c204178 Merge pull request #2379 from larsks/feature/os_server_facts_returns_list
os_server_facts returns facts about multiple servers
2015-11-05 12:50:29 -05:00
Chris Church
cb36cedabf Merge pull request #1930 from wenottingham/patch-1
win_msi: document extra_args
2015-11-05 12:39:01 -05:00
Brian Coca
ad6a751668 Merge pull request #2416 from nitzmahone/win_setup_mem_fix
fixed ansible_totalmem fact returning 0
2015-11-05 11:28:01 -05:00