Commit Graph

23273 Commits (072c68ea79755e57f8fbee661acb2214c6bd55a9)
 

Author SHA1 Message Date
krdlab c680611fe4 Fix `self.changed` value in `ElbManager` (ec2_elb_lb) 8 years ago
Jordi Gutiérrez Hermoso 4682ea1c3c 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.
8 years ago
Will Rouesnel b565da78b3 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.
8 years ago
Corwin Brown c075c000c8 Adding Facter 8 years ago
Brian Coca 351de21ee7 made port default depending on db engine 8 years ago
Mark van Driel d67f2eb104 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
8 years ago
Phil 3781c5ccb0 uses get-attr and fixes file path issues by escaping quotes around path 8 years ago
schwartzmx 5ff4d219e0 updates win_msi to allow install to wait - adds additional wait param - updates to use Start-Process to allow -Wait - this will wait for install/uninstall to complete before continue 8 years ago
Jan Duzinkiewicz 9c6db69827 forcing git fetch if sha1 are equal between repos but branch exists only at remote
Add an explanatory comment to the code
8 years ago
Brian Coca 3afaa2fef4 really fixed the doc formatting 8 years ago
Brian Coca 1fe3387971 crrected version added 8 years ago
Brian Coca e2062c44d9 made note about choice availability in ansible ver 8 years ago
Brian Coca 0ca9356675 added versions note in description for new choice 8 years ago
Brian Coca f5ddbd5c49 fixed win_feature docs
added version_added for source and fixed some yaml parsing
8 years ago
Pavel Derendyaev 3129154a2a Add "timeout" option to Docker module 8 years ago
Trond Hindenes abcae97422 update doc 8 years ago
Trond Hindenes 37a24cc1b1 bugfix win_feature.ps1 8 years ago
Trond Hindenes 21b79123a4 Add source as optional parameter 8 years ago
KIKUCHI Koichiro 2974358b2b Add check_mode support to mysql_user. 8 years ago
Arata Notsu a9f23ac54f apt: export env vars before run dpkg
Without this change, some trouble may occur when "deb" parameter
is used as env vars controlling dpkg are not set. For example,
installing a package that requires user input will never end since
DEBIAN_FRONTEND=noninteractive is not set.

So export env vars in APT_ENV_VARS before run dpkg, like in cases
using apt-get/aptitude.
8 years ago
Jonathan Mainguy 47d0719cfe Fix bad merge 8 years ago
Brian Coca 288a5c9a77 adds diff info for file info 8 years ago
nitzmahone 60ca6e2f85 fix win_file to stop on errors 8 years ago
Jon Hadfield d0e37fa542 return allocation id for vpc address. 8 years ago
Dmitry Labutin b20066ff8e Fix issue #2721: os_object parameters and docs don't align (file/filename) 8 years ago
Dmitry Labutin 60b1273d55 Github uses both HTTP and HTTPS protocols 8 years ago
Ben Visser a01fe88263 staging that num_nodes is required when state=present 8 years ago
Brian Coca 1367e73c94 be smarter when dealing with policy_json input
Now module will assume that if the argument is a string it is already formated as json
and will only try to convert non strings into json string.
Also removed unused 'msg' var declarations and the ifs that set them
fixes #2009
8 years ago
Vic Iglesias 353db36515 Update GCE PEM deprecation text and examples 8 years ago
Barnaby Court 73d47ec7a4 add no_log to the password parameter 8 years ago
Charles Paul 980691338a adding no_log to password 8 years ago
Michael Scherer d321670b38 Add more precise documentation on the requirements parameter
Fix #427
8 years ago
Michael Scherer 83b45ae047 Fix doc inconsistency (#2630) 8 years ago
Vic Iglesias 612d9c3e92 Use credentials_file for GCE module auth config 8 years ago
tksarah 7ad225eedd Edit azure.py 8 years ago
Etherdaemon eba78d08f9 Update to wait and wait_timeout with a maximum of 10 minutes timeout 8 years ago
luto 610de975e6 vsphere_guest: when creating a guest, gather facts about it *before* disconnect 8 years ago
Etherdaemon cd3f306518 Proposing a wait_for function to ensure elb has been successfully removed 8 years ago
Josh Rendek bddcf737c9 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.
8 years ago
Mike Buzzetti f20b09e2ec Add evaluate taget health for alias based records 8 years ago
sebi 76af56eaca added unless stopped option 8 years ago
Martin Matuska 4cce825ae9 rhn_register: add sslcacert and systemorgid options 8 years ago
Brian Coca 7d6c704404 fix bad linebreak 8 years ago
Michael Scherer 69036826a8 Fix #2629, replace choices=BOOLEANS by type='bool' 8 years ago
Alexander Gubin b0d54092ee command: Add warnings for dnf and zypper 8 years ago
luto d20c4368d2 vsphere_guest: add power status to facts 8 years ago
stephane 40e7ed9518 Add support for pip force-reinstall
The pip command allows a user to force reinstallation,
but the module doesn't currently support it. Add
"force-reinstall" as a possible state.
8 years ago
Manuel Tiago Pereira 057cbacf8a Add support for legacy registries to pull_image().
Since we now have several exceptions to the assumption that the
result of the pull would be on the last status line returned by
docker-py's pull(), I've changed the function so that it looks
through the status lines and returns what if finds on it.
Despite the repeated `break`s, the code seems simpler and a little
more coherent like this. From what I've checked using
`https://github.com/jlafon/ansible-profile`, the execution time is
mostly the same.
8 years ago
Sam Thursfield eba767902c os_server: Add some error checking for the 'nics' parameter
If this parameter was not of the right type, the module would fail with a
traceback, with a "AttributeError: 'str' object has no attribute 'get'"
exception.

It now gives a proper error message on type errors.
8 years ago
nitzmahone 317ea13759 win_get_url doc/strict-mode fixes
plus cleaning up from bad merge
8 years ago