Commit graph

7981 commits

Author SHA1 Message Date
Brian Coca
c854b9ac9f Merge pull request #2545 from mandre/patch-1
Fix typo in ping module short description
2015-11-25 12:40:39 -08:00
Brian Coca
c428483b24 updated docs to denote retirement of v1 api and clarify when and why auth fields have changed 2015-11-26 09:41:33 -08:00
Brian Coca
e698eaa3e9 Merge pull request #2550 from lippylee/patch-2
Make digital_ocean_domain use API v2
2015-11-25 09:35:10 -08:00
luto
7f01600813 vsphere_guest: when creating a guest, gather facts about it *before* disconnect 2015-11-25 17:14:19 +01:00
Lippy Lee
b2ace272a5 Make digital_ocean_domain use API v2 2015-11-25 22:10:31 +08:00
Michel Alexandre Salim
b07ff99cac Fix ec2_snapshot documentation
last_snapshot_min_age is added in 2.0, not 1.9
2015-11-25 15:08:48 +07:00
Martin André
129bac3649 Fix typo in ping module short description 2015-11-25 16:54:11 +09:00
Max Rothman
f1f201c234 Fix rds "promote" command never promoting
Previously, the `promote` command in the `rds` module would always return OK and never actually promote an instance. This was because `promote_db_instance()` had its conditions backwards: if the instance had the `replication_source` attribute indicating that it **was** a replica, it would set `changed = False` and do nothing. If the instance **wasn't** a replica, it would attempt to run `boto.rds.promote_read_replica()`, which would always fail.
2015-11-24 16:10:28 -05:00
krdlab
dd76b51990 Fix self.changed value in ElbManager (ec2_elb_lb) 2015-11-25 04:42:51 +09:00
joshuaeke
ab420300ef Update ec2.py remove state tag
'exact_count' and 'state' are mutually exclusive options they should not be in the following examples:
- # Enforce that 5 running instances named "database" with a "dbtype" of "postgres" example and 
- # Enforce that 5 instances with a tag "foo" are running
2015-11-24 18:48:59 +00:00
Brian Coca
ebc0443332 Merge pull request #2522 from chrrrles/ini_file_open
create non-existent ini file
2015-11-24 09:06:50 -08:00
Chris Church
f482629365 Merge pull request #2495 from cchurch/win_copy_remove_large_files_note
Remove note about only using win_copy for small files.
2015-11-24 11:35:15 -05:00
Charles Ferguson
fca36415d6 Update the documentation of the 'apt' action for the 'name'.
The package name has two aliases, 'package' and 'pkg'. Add them to the
documentation.
2015-11-24 15:55:31 +00:00
Toshio Kuratomi
8ae30f1822 Minor simplification of code 2015-11-23 16:23:41 -08:00
Toshio Kuratomi
5617cd57cf Merge pull request #2512 from erewh0n/ec2-require-all-groups
Fail ec2 module when group names cannot resolve to IDs
2015-11-23 16:20:31 -08:00
Toshio Kuratomi
1270bacee7 Merge pull request #2425 from aioue/patch-5
Update ec2_elb_lb.py
2015-11-23 15:55:51 -08:00
Toshio Kuratomi
53a5ee47a5 Merge pull request #2530 from gerph/fix-docs-yum
Update documentation of the 'pkg' and 'state' parameters in yum.
2015-11-23 15:52:40 -08:00
Charles Ferguson
490038b0e4 Update documentation of the 'pkg' and 'state' parameters in yum.
The yum module allows the 'name' parameter to be given as 'pkg', in
a similar way to some of the other package managers. This change
documents this alias.

The module's 'state' parameter has two other aliases, in line with
the 'apt' action; the 'state' parameter can take 'installed' as an
alias for 'present', and 'removed' as an alias for 'absent'. These
aliases are documented.
2015-11-23 23:42:40 +00:00
Matt Martz
03035d7a31 Merge pull request #2524 from Shrews/os_image
Bug fix for os_image and min_disk/min_ram
2015-11-23 16:45:11 -06:00
Brian Coca
6bd8020f65 corrected version_added, removed empty alias 2015-11-24 09:32:46 -08:00
Jordi Gutiérrez Hermoso
c038e7013a hg: discard changes without changing the current revision
The command `hg up -C` by default moves to the latest revision on the
current branch. The `discard` function was trying to update to a
different branch, in case it was provided, by passing a `-r REVISION`
argument. Not only is this not the intended effect of the `discard`
function, but this also could update to a different branch that hasn't
been pulled yet, which is how we were experiencing trouble.

Instead, we unconditionally do `hg up -C -r .` to "update" to the
current revision (i.e. to "."), while `-C/--clean`ing the current
directory. This is similar to `hg revert --all`, except that it also
undoes the merge state of the working directory, in case there was
any.
2015-11-23 14:35:06 -05:00
Brian Coca
b789db7b9d Merge pull request #2211 from kai11/feature/spot_launch_group
Added launch group support for ec2 module
2015-11-23 09:31:33 -08:00
David Shrewsbury
d13741314e Bug fix for os_image and min_disk/min_ram
The min_disk and min_ram parameters were not being passed to
the shade API. They also need to be integer values. Also
updated the description of these parameters for better
clarification.
2015-11-23 11:29:00 -05:00
Charles Paul
1bc0b6ee6a create non-existent ini file
fixing fail_json

more verbose fail msg
2015-11-23 23:07:14 +09:00
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