Commit Graph

7885 Commits (b7d7bfa0b1ce310d5d04fc088d67805a6b7101d0)
 

Author SHA1 Message Date
Mark van Driel 0890aab41b Fixes require ssl in combination with other privileges
Fixes require ssl in combination with grant option

Refactoring: code cleanup to make it easier to understand

Code rewritten inspired by @willthames

Added WITH GRANT OPTION as exception; when only REQUIRESSL and/or GRANT are specified we have to add USAGE
9 years ago
Veaceslav (Slava) Mindru 19abe233fe Squashed commit of the following:
commit 406214fad214359fcf13fe8c7cd3f8f8faac5386
commit 85d1c9b0a41dd075eb2683b1a7de595ca3119614
commit 4aa5049b5ae25dee71a248238201611a466a13c4
commit 65a96974c80aea1fef88d78e218ecb665d8113e1
commit 22ea5863d1dfd628735b46cc7de51c0fd33251de

Refactoring
9 years ago
Markus Suonto 32edc2f56f fixed quantum_ modules to work with minimum access rights if greater access rights are not needed 9 years ago
= 3d14397dc0 Fix for 13315 - minute now included in ansible_date_time on windows hosts 9 years ago
Brian Coca 9c30ef8926 doc updates
- added version_added to new api_token
- updated notes to explain API issues, option switch and versions affected.
9 years ago
Etherdaemon 185a371efb Proposing a wait_for function to ensure elb has been successfully removed 9 years ago
Brian Coca b978f98715 Merge pull request #2553 from gerph/fix-docs-apt
Update the documentation of the 'apt' action for the 'name'.
9 years ago
Brian Coca d2d4830320 Merge pull request #2556 from jaydrogers/patch-1
Update in Amazon IAM Policy Documentation
9 years ago
Jay Rogers cab97cd2d9 Update in Amazon IAM Policy Documentation
There were typos in the documentation that made the examples seem misleading of what was being demonstrated. This update fixes that.
9 years ago
Brian Coca c854b9ac9f Merge pull request #2545 from mandre/patch-1
Fix typo in ping module short description
9 years ago
Brian Coca c428483b24 updated docs to denote retirement of v1 api and clarify when and why auth fields have changed 9 years ago
Brian Coca e698eaa3e9 Merge pull request #2550 from lippylee/patch-2
Make digital_ocean_domain use API v2
9 years ago
luto 7f01600813 vsphere_guest: when creating a guest, gather facts about it *before* disconnect 9 years ago
Lippy Lee b2ace272a5 Make digital_ocean_domain use API v2 9 years ago
Michel Alexandre Salim b07ff99cac Fix ec2_snapshot documentation
last_snapshot_min_age is added in 2.0, not 1.9
9 years ago
Martin André 129bac3649 Fix typo in ping module short description 9 years ago
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.
9 years ago
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