Commit Graph

8324 Commits (1f5cf669ddec2ea46cd5f335f56f0d493403c99a)
 

Author SHA1 Message Date
krdlab dd76b51990 Fix `self.changed` value in `ElbManager` (ec2_elb_lb) 9 years ago
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
9 years ago
Brian Coca ebc0443332 Merge pull request #2522 from chrrrles/ini_file_open
create non-existent ini file
9 years ago
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.
9 years ago
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.
9 years ago
Toshio Kuratomi 8ae30f1822 Minor simplification of code 9 years ago
Toshio Kuratomi 5617cd57cf Merge pull request #2512 from erewh0n/ec2-require-all-groups
Fail ec2 module when group names cannot resolve to IDs
9 years ago
Toshio Kuratomi 1270bacee7 Merge pull request #2425 from aioue/patch-5
Update ec2_elb_lb.py
9 years ago
Toshio Kuratomi 53a5ee47a5 Merge pull request #2530 from gerph/fix-docs-yum
Update documentation of the 'pkg' and 'state' parameters in yum.
9 years ago
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.
9 years ago
Matt Martz 03035d7a31 Merge pull request #2524 from Shrews/os_image
Bug fix for os_image and min_disk/min_ram
9 years ago
Brian Coca 6bd8020f65 corrected version_added, removed empty alias 9 years ago
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.
9 years ago
Brian Coca b789db7b9d Merge pull request #2211 from kai11/feature/spot_launch_group
Added launch group support for ec2 module
9 years ago
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.
9 years ago
Charles Paul 1bc0b6ee6a create non-existent ini file
fixing fail_json

more verbose fail msg
9 years ago
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.
9 years ago
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.
9 years ago
Keith Hassen 39ef6a1a80 Fail if any group name is not resolved to an ID. 9 years ago
Brian Coca 0e043f8c58 Merge pull request #2505 from donckers/devel
Fix #822 - Correct failure to overwrite existing records
9 years ago
Brian Coca 6d722608d6 Merge pull request #2413 from raben2/devel
Absent Function was not working on user with login profile
9 years ago
Daniel Donckers 3b8147af30 Fixes #822 9 years ago
Brian Coca 1ff0704c0c Merge pull request #2486 from mcls/fix-copy-with-remote-src
Fix copy with the remote_src option
9 years ago
Toshio Kuratomi 0d68209ef7 Merge pull request #2500 from streeter/patch-1
Fix name of ssh_opts arg
9 years ago
Chris Streeter 13343a8888 Fix name of ssh_opts arg 9 years ago
Chris Church ade721cc5d Remove note about only using win_copy for small files. 9 years ago
Brian Coca 88e0bfd75d Merge pull request #2492 from Shrews/os_user_group
Fix os_user_group module
9 years ago
Brian Coca c978e260f9 Merge pull request #2493 from mriddlegsn/devel
Fixed error message: TypeError: fail_json() takes exactly 1 argument …
9 years ago
Brian Coca 1d6b31a90f fixed break order 9 years ago
Mike Riddle 062c7764e6 Fixed error message: TypeError: fail_json() takes exactly 1 argument (2 given) 9 years ago
David Shrewsbury 2a306c6b8c Fix os_user_group module
This module had a couple of errors in it. Also added check mode
support.
9 years ago
Tom Paine 4bc834485a Update ec2_elb_lb.py 9 years ago
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.
9 years ago
Brian Coca 2c92fc4d3c Merge pull request #2484 from bcoca/ec2_elb_get_really_all
Ec2 elb get really all items
9 years ago
Lee Hardy ee0412c8b4 Merge branch 'devel' into mysql_anon_user 9 years ago
Chrrrles Paul b1c0249045 Merge pull request #2409 from stewrutledge/reconfnetwork
Added support for reconfiguring network
9 years ago
Brian Coca 21f6390fa3 clarified set_fact function 9 years ago
Brian Coca 1258f82648 Merge pull request #2467 from cinek810/fix_ident
It may be string with int comparison, if ansible user specifies ident…
9 years ago
James Cammarata 572771d0b1 Version bump for new beta 2.0.0-0.5.beta3 9 years ago
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. 9 years ago
Marcin Stolarek 3193961cf5 It may be string with int comparison, if ansible user specifies identifier as int 9 years ago
Brian Coca 98c5699a16 Merge pull request #2451 from jordidg/hostname_fact_update
Update facts when hostname is changed
9 years ago
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.
9 years ago
Brian Coca 6e37f1dcef fixed remote_src support, now actually copies and does not move 9 years ago
Steve Spencer fc5da26dee Sync up with allowable docker volume mounting modes 9 years ago
Brian Coca dcace5ecf8 Merge pull request #2452 from slimandslam/patch-1
Add rds restore example to list of examples
9 years ago
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.
9 years ago
Jordi De Groof 6584b59d91 Update facts when hostname is changed
ansible_hostname contains the unqualified hostname
9 years ago
Steve Spencer 2c95641d66 Add support for mounting host volumes with Z and z options 9 years ago
Rabenstein 83170f21e0 Merge branch 'devel' of https://github.com/raben2/ansible-modules-core into devel 9 years ago