Commit graph

8034 commits

Author SHA1 Message Date
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
nitzmahone
3f5d6df5f7 fixed ansible_totalmem fact returning 0
Win32_PhysicalMemory CIM object is busted on some virtual environments, switched
to Win32_ComputerSystem.TotalPhysicalMemory
2015-11-04 17:29:08 -08:00
Brian Coca
35707bcb3c Merge pull request #2401 from larsla/devel
total_seconds not present on timedelta on python2.6
2015-11-04 16:17:12 -05:00
Lee Hardy
2aeb188d81 - fix user_exists statement with host_all to use only username parameter 2015-11-04 16:37:18 +00:00
Rabenstein
b655b6ae26 typo 2015-11-04 15:39:34 +01:00
Rabenstein
3d8f0b5d95 fixed the delete user function
now works with or without loginprofile (password)
2015-11-04 15:34:48 +01:00
Rabenstein
76cd8381f8 Absent unction was not working on user with login profile
also fixed the exception handling
2015-11-04 14:54:46 +01:00
Stewart Rutledge
21fa2d3848 Added support for insecure parameter 2015-11-04 14:30:09 +01:00
Stewart Rutledge
adbc430984 Added support for reconfiguring network (moving to another switch, for example) 2015-11-04 14:22:08 +01:00
Leonty
cff83dd257 Merge remote-tracking branch 'upstream/devel' into devel 2015-11-04 12:48:14 +03:00
Leonty
5b904c1401 Corrected misspelling in the 'labels' docker parameter documentation. 2015-11-04 12:43:03 +03:00
Brian Coca
5b64993b22 Merge pull request #2385 from noseka1/devel
ini_file should only change what was specified and nothing more #5860
2015-11-03 15:02:29 -05:00
Toshio Kuratomi
62672b8b85 Merge pull request #2228 from abridgett/feature/add_ec2_elb_lb_idle_timeout
add idle_timeout support
2015-11-03 10:24:58 -08:00
Brian Coca
cac69f3135 added missing version_added 2015-11-03 13:25:46 -05:00
Brian Coca
aa6f80669a Merge pull request #534 from ferrants/ami-launch-permissions
ec2_ami can update an ami's launch_permissions
2015-11-03 13:21:44 -05:00
Brian Coca
c91da5714e Merge pull request #2279 from wimnat/feature/iam_policy_idempotentcy
Allow iam_policy to maintain idempotence if the role referenced has …
2015-11-03 13:10:42 -05:00
Brian Coca
3aee4b9469 Merge pull request #2326 from jibsheet/devel
Mark this as a string so it is rendered in the docs
2015-11-03 13:10:15 -05:00
Daniele Varrazzo
c860af29b2 Detect unchanged pip runs when using a vcs url in name
Should fix bug #1645
2015-11-03 14:51:23 +00:00
Daniele Varrazzo
a95fee4079 Use 'pip freeze' output to detect changes with requirement specified
If the requirements contains a repos url it will always report 'Successfully
installed'; there is no difference in the output to tell apart if
anything new was pulled. Use freeze to detect if the environment changed
in any way.

Should fix ansible/ansible#1705
2015-11-03 14:49:38 +00:00
Brian Coca
a98b807b26 Merge pull request #1988 from felix-engelmann/devel
re-implements #226
2015-11-03 08:03:43 -05:00
Felix Engelmann
2a97e9f299 re-implements #226
in optional (editable) way 
with backward compatibility
2015-11-03 12:45:00 +01:00
Lars Larsson
fa2ea225dd total_seconds not present on timedelta on python2.6 2015-11-03 11:54:31 +01:00
Toshio Kuratomi
0de2627efc Make cache_parameter_group the name of this new param to match with similar params (leave old name as an alias) 2015-11-02 17:33:04 -08:00
Toshio Kuratomi
e16c5c54fd Revert "Expose cache_parameter_group_name in elasticache module"
This PR #1950 implements duplicate functionality to #1353
This reverts commit b04efa22c4.

Conflicts:
	cloud/amazon/elasticache.py
2015-11-02 17:27:54 -08:00