Commit Graph

10598 Commits (4aab832ac46c4cc9bf7247441ae3471042624db1)
 

Author SHA1 Message Date
James Cammarata 3715482d7c Determine selinux context for NFS mount points correctly
Fixes #7009
11 years ago
Michael Heca 4271613aa5 module docker_image - default tag latest
Fix constant rebuild of image if no tag specified.
11 years ago
Mike Buzzetti 5dada9403e Adds support for VPC subnets to ELB 11 years ago
Sébastien Gross 22d6572270 Honor ansible_private_key_file for delegated hosts
If a delegated host is not found in the inventory specified
private_key_file for primary host was not used.

This allows running playbooks without having to define any inventory at
all and to use the same ssh private key for both primary host and
delegated one.
11 years ago
Joshua Conner 4defd9a15a docker: exclude 'entrypoint' from comparing 'command' param with containers
The JSON the Docker API returns includes the container's ENTRYPOINT value (if it has one) with the 'Command' value. So instead of checking if `container['Command'] == module.params['command']`, we just check that `container['Command'].endswith(module.params['command'])` so the entrypoint won't affect a container being properly classified as matching the module params or not.

Also I refactored a super-long `if` statement into some temporary variables - I did it to help me figure out what was going wrong, and then it makes the code more readable so I kept it.
11 years ago
Joshua Conner 10171dc42b docker: send 1.10 params if docker-py is new enough version 11 years ago
Michael DeHaan 632eb18333 Merge pull request #7044 from 42wim/devel
hint to install python-ssl on redhat systems
11 years ago
Wim 6ed4ca97a8 hint to install python-ssl on redhat systems 11 years ago
James Cammarata 1ef0402f03 Make sure a default allow out rule exists if no other egress rules do
Fixes #7027
11 years ago
Chad Nelson ef1a8e4cdd Only update submodules when recursive is true 11 years ago
Michael DeHaan 09e0d1c51f Merge pull request #7029 from mattjbray/docker-api-error
docker.client.APIError has moved to docker.errors.APIError
11 years ago
Andreas Fleig 337a0059d9 apt_key: fix key lookup for 64 bit key ids
Fixes #7018 by extending `all_keys` to work with either short or long keys.

Also removes the ununsed method `key_present`.
11 years ago
Matt Bray 3948dc2d1d docker.client.APIError has moved to docker.errors.APIError
see 18d4db09ec
11 years ago
James Cammarata a37a84243b Check resource_tags value before using it in ec2_vpc
Fixes #7024
11 years ago
Brian Brazil 8ec400669f Fix race conditions where a process gets in state "Running"
between the restart/start command and the summary command.

Refactor to avoid repeating the status, and fail if a given call to monit fails.
11 years ago
Paul Durivage f0bb3aeeea Add Docker inventory plugin 11 years ago
James Cammarata 36b9bc4d40 Merge pull request #7021 from smoothify/skipped-items
skipped callback in loop does not display 'item'.
11 years ago
James Cammarata f9eb0ba4ad Merge branch 'devel' of https://github.com/evanccopengeo/ansible into evanccopengeo-devel 11 years ago
jjshoe 5258f75789 apt_key lists all keys in uppercase
allow for a little user error
11 years ago
smoothify 48bf7a000d Try to pass in item to on_skippped callback. 11 years ago
James Cammarata c5e9a06c2a Merge pull request #7011 from hernandesbsousa/devel
Add missing info for the append option for user module
11 years ago
Michael Heca a1706e6411 module replace - report changed only if contents is changed 11 years ago
Hernandes B. de Sousa 202fc57253 Add missing info for the append option
Both 'default' and 'choices' options were missing at the documentation.
11 years ago
James Cammarata e8b33636ae Get the bin path for commands in the unarchive module
Fixes #6927
11 years ago
Michael DeHaan a5e7492c4f This test appears OS specific, so disabling for now. 11 years ago
Michael DeHaan 8d060685fa Merge pull request #7007 from tima/test-sudo-cmd-esc
Fixed escaping of " in test_make_sudo_cmd in TestUtils so that it passes as it should.
11 years ago
Timothy Appnel fd35c59fc1 Fixed escaping of " in test_make_sudo_cmd in TestUtils so that it passes
as it should.

Signed-off-by: Timothy Appnel <tim@appnel.com>
11 years ago
Michael DeHaan a12231fabe Merge pull request #7000 from adammenges/quick-doc-fix
Added homebrew to install doc
11 years ago
danfaizer 7867335702 Added Abiquo inventory plugin 11 years ago
evanccopengeo ac64f3c8cf cleaning up the code a bit more 11 years ago
evanccopengeo 88b30a74d2 fixing bug where if both private_ip and assign_public_p are set ansible fails out 11 years ago
Adam Menges a039146081 added homebrew to install doc 11 years ago
James Cammarata f547733b1f Check to make sure the firewalld client is connected before proceeding
Fixes #6911
11 years ago
James Cammarata d240d073eb Changing SSL cert detection method to allow for auto-negotiation of SSL protocols
Fixes #6904
11 years ago
James Cammarata 23c5f4524d Make sure args in run_command are encoded for shlex.split calls on py2.6 11 years ago
James Cammarata d494a163f9 Merge pull request #6900 from jimi-c/issue_6891_cifs_mount_hang
Add a timeout decorator for timing out functions that may hang
11 years ago
James Cammarata ba1a6c2e11 Removing .orig file merged in accidentally 11 years ago
James Tanner aad128bac7 Use combined cache for templating module vars
Fixes #6901
11 years ago
James Cammarata 942c3299ec Merge pull request #6997 from ricard33/patch-1
Fixed test on 'cached' parameter.
11 years ago
Cédric RICARD 3384021fe6 Fixed test on 'cached' parameter.
'cached' parameter is boolean, not string
11 years ago
Ton Kersten 6735733ed1 Fix documentation error 11 years ago
James Cammarata bdbb3bb4a1 Fixing unit tests for synchronize due to earlier changes 11 years ago
Chris Conway 0ec5d78e20 Modifies match/search filter examples to use non-trivial regexes. 11 years ago
Joe Fiorini 2a3514b60b Support hosts without private ip without errors
Not all Linode hosts have a private ip. This fixes an actual error that was happening because the generated list of private ips is empty when there isn't one.
11 years ago
Joshua Conner 0ef288dcc8 Docker: don't send wrong parameters to client.start()
As part of being updated for the 1.10 API, a couple of parameters were passed to the docker.client.start() command that it doesn't accept. This caused the module to error out if it tried to start any Docker containers. This removes those parameters so the module works again.
11 years ago
James Cammarata 40b958e348 Don't turn complex args back into a k=v string for the synchronize module
Fixes #6951
11 years ago
James Tanner 6ec0e25d1a Addresses #6908 Add a mode parameter to apt_repository 11 years ago
James Tanner 28cb4756c4 Remove debug line 11 years ago
James Cammarata 2cc4ac2e75 Catch traceback caused by permissions errors during a local md5 sum
Fixes #6948
11 years ago
James Tanner db36c41c3b Addresses #6908 Strip usernames and passwords from apt_repository filenames 11 years ago