Commit Graph

23092 Commits (4c6515e29995e0d2b5cc121129806443a2c8ee82)
 

Author SHA1 Message Date
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
nitzmahone feb077261e minor win_get_url doc update 8 years ago
T.Kuramochi dfda2e9f57 Add HTTP Proxy options
Update a document file for win_get_url.ps1.

Update add a prefix proxy_ for this variables

Update a document file for win_get_url.ps1.

Update win_get_url.ps1 20150907
8 years ago
Toshio Kuratomi 7a492764d0 Fix up documentation 8 years ago
Toshio Kuratomi 4fa9de5af3 entrypoint feature added in 2.1 8 years ago
Toshio Kuratomi eb65f819f5 labels is actually not aded in 1.9.4 but in 2.1 8 years ago
Andrew Pashkin c811a3f4bc Add 'entrypoint' parameter to Docker module 8 years ago
Andrew Pashkin 8342397427 Harden matching running containers by "command" in the Docker module
Before this patch:

  - Command was matched if 'Command' field of docker-py
    representation of Docker container ends with 'command' passed
    to Ansible docker module by user.
  - That can give false positives and false negatives.
  - For example:
      a) If 'command' was set up with more than one spaces,
         like 'command=sleep  123', it would be never matched again
         with a container(s) launched by this task.
         Because after launching, command would be normalized and
         appear, in docker-py API call, just as 'sleep 123' - with one
         space. This is false negative case.
      b) If 'entrypoint + command = command', for example
         'sleep + 123 = sleep 123', module would give false positive
         match.

This patch fixes it, by making matching more explicit - against
'Config'->Cmd' field of 'docker inspect' output, provided by docker-py
API and with proper normalization of user input by splitting it to
tokens with 'shlex.split()'.
8 years ago
Omar Khan 369fe78c60 Add stop_timeout option to docker module 8 years ago
Toshio Kuratomi a708ad65c4 Add version_added to documentation 8 years ago
Joe Quadrino b6e2b2dce1 add devices parameter for docker module 8 years ago
Yann Hamon 1faf8dd5c2 Docker module: restarted should update the container when necessary 8 years ago
Andy Nelson 444895f889 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
8 years ago
HAMSIK Adam 2af105bcbc Convert enabled value to boolean to actually work, make sure we can set expiration period to 0(None) to disable it 8 years ago
Pedro Romano bcae9a2b5e GCE libcloud 0.15 support and code cleanup * Code formatting (indentation and white space) fixes for improved PEP8 conformity. * Remove redundant backslashes inside parentheses. * Test for object identity should be 'is not None'. * Test for membership should be 'not in'. * Fit docstring to the PEP8 79 character limit. * Use forward compatible Python 2.6+ 'except .. as' syntax for exception handling. * Support libcloud > 0.15 'metadata' argument format. 8 years ago
Toshio Kuratomi 65b9243056 mariadb isn't always the last elemen of the version string 8 years ago
Toshio Kuratomi 0a64899eba Fix mysqldump usage of config_file 8 years ago
Brian Coca f8a36c4047 service goes back to failing when absent
if no tools and no init script, this should always fail
8 years ago
Alberto Gireud 58c39f47c1 Update root_volume variable 8 years ago
Toshio Kuratomi dafb39da2e Account for mariadb versioning 8 years ago
luto d48dffc298 vsphere_guest: support putting a guest into a nested folder 8 years ago
Jonathan Mainguy 0cdb2719e5 Unify all 3 mysql modules.
Use same connection method, use config_file, and add ssl support
8 years ago
Toshio Kuratomi 8d293651df Fix os_server docs build 8 years ago
Lee H 7feb64d31c - add version_added as requested to host_all 8 years ago
Lee H 5606197c28 - remove user_anonymous as the same thing can be accomplished by user='', but leave in the examples for removing anonymous users 8 years ago
Donovan Jones 8b9cd7f410 fix typo in os_server security_groups description 8 years ago
Brian Coca 9259b51c97 updated module docs, added choices to state 8 years ago
Tobias Smolka cf5403afa3 Making cluster parameter optional 8 years ago
Brian Coca 63fd67f156 added mime option to stat module
it uses file magic to now return mime_type and charset of a file as
per output of `file -i /path`
8 years ago
Lee H 95895177d0 - add example showing removal of anonymous user accounts 8 years ago
Monty Taylor a715c91d0b Add support for network, boot_from_volume and volumes
nics is a great flexible parameter, but it's wordy. Shade now supports
a simple parameter too, which is just "network" and takes a name or id.
Add passthrough support.

In addition to supporting booting from a pre-existing volume, nova and
shade both support the concept of booting from volume based on an image.
Pass the parameters through.

Shade supports boot-time attachment of additional volumes for OpenStack
instances. Pass through the parameter so that ansible users can also
take advantage of this.
8 years ago
Toshio Kuratomi 687257bd62 Use rpm instead of repoquery for is_installed()
* This keeps us from hitting bugs in repoquery/yum plugins in certain
  instances (#2559).

* The previous is also a small performance boost

* Also in is_installed(), when using the yum API, return if we detect
  a package name has been installed.  We don't need to also check
  virtual provides in that case.  This is another small performance
  boost.

* Sort the list of packages returned by the list parameter.
8 years ago