Commit Graph

4160 Commits (09e675290a14277bfda0877b73c901bd1b89b066)
 

Author SHA1 Message Date
James Cammarata 09e675290a Merge pull request #7190 from jimi-c/issue_7180_vsphere_guest_hardware_variable_casts
Make sure values are integers for certain hardware items for vpshere_guest
11 years ago
James Cammarata 2b3d39ddd3 Merge branch 'elb' of https://github.com/bpennypacker/ansible into bpennypacker-elb 11 years ago
James Cammarata 075c3bcfa3 Make sure values are integers for certain hardware items for vpshere_guest
Fixes #7180
11 years ago
James Cammarata eb0978e4db Merge branch 'fix_user_non_root_on_rhel' of https://github.com/mscherer/ansible into mscherer-fix_user_non_root_on_rhel 11 years ago
Michael Scherer 4ed4bfff90 Do not fail if we try to generate a ssh key for a user without being root
If we try to use the user module without being root, it fail on RHEL/Fedora
because usermod --help cannot be run. The root cause is lack of permission
due to EAL4+ certification, as seen in shadow-utils changelo.

So if we cannot run it, assume there is no append. It doesn't matter
much since we will not be able to run usermod at all with or without the
option.
11 years ago
Skyler Leigh Amador 6eb8759ec5 Remove --timeout option to rsync from synchronize defaults
The current 10-second default timeout for rsync seems to be behind issue #6809.

As a workaround for the underlying issue in rsync when different versions are
used on the source and destination sides, don't include the timeout option
unless the user specifies a timeout > 0.
11 years ago
Michael DeHaan 0db3ad3f73 Merge pull request #7168 from jjshoe/fix_apache2_module_docs
Fix example
11 years ago
Joel Schuweiler c1470db8fd Fix example 11 years ago
mkosmach cfc8b1c561 add simplejson as alternative to json 11 years ago
Bruce Pennypacker 8baeccacab removed unwanted 'if wait else None' 11 years ago
Ben 834115290d updated example to include instance_type 11 years ago
Ben 06ff535098 Added instance_type to ec2_lc variable list 11 years ago
Michael DeHaan a9b4fcf703 Add missing license headers to two modules and standardize formatting of another. 11 years ago
James Cammarata 89d61b8a7d Add parameters to get_url for the url username/password
Fixes #6928
11 years ago
James Cammarata 33c1f697d2 Merge branch 'apt_key_format' of https://github.com/andreasf/ansible into andreasf-apt_key_format 11 years ago
James Cammarata 404412f254 Fixing the version_added string in the vsphere_guest module 11 years ago
James Cammarata 6aaf249847 Merge branch 'vmware_core' of https://github.com/rhoop/ansible into rhoop-vmware_core 11 years ago
James Cammarata e7ce49f750 Merge pull request #7141 from lamby/devel
Correct/update debconf examples - need to specify vtype.
11 years ago
npeters 43ac7a7984 Remove invalid variable 11 years ago
James Cammarata 98d949e143 Merge pull request #7047 from joshuaconner/docker_bugfix_exclude_entrypoint_from_command_check
docker: exclude 'entrypoint' from comparing 'command' param with containers
11 years ago
James Cammarata 6468b72d59 Merge pull request #7022 from jjshoe/patch-1
apt_key lists all keys in uppercase
11 years ago
Richard Hoop 2364ede3fc Author 11 years ago
Chris Lamb b123b648a0 Correct/update debconf examples - need to specify vtype.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
11 years ago
James Cammarata f068a4f26a Merge pull request #6991 from joshuaconner/bugfix_dont_send_wrong_params_to_dockerclient_start
Docker: don't send wrong parameters to client.start()
11 years ago
Richard Hoop f6e6b313b7 Ready for pull request 11 years ago
Richard Hoop f09ecf2239 Core complete 11 years ago
James Cammarata 3b78b05816 Merge pull request #6599 from dmage/nova_region_name
use region_name in nova_compute
11 years ago
James Cammarata 566a284186 Merge pull request #6985 from jimi-c/issue_6763_ec2_vpc_params
Ensure params were set in ec2_vpc before accessing them
11 years ago
James Cammarata 83d6ee998f Merge pull request #7128 from stansonhealth/improve_tag_docu
update ec2_tags documentation to include missing option
11 years ago
Erika Heidi 40e7c6eddc Possible docs error: 'path' instead of 'src'
I came to this example today (line 50), and when I tried it, I got an error:

`msg: src and dest are required for creating links`

So, I changed **path** to **src** and it worked fine. Looks like the example is wrong, since the docs say "dest" is already an alias for "path", in which case we would have 2 "path" definitions.
11 years ago
Richard Hoop 149a740a1c Started reconfigured 11 years ago
Ted Timmons 118ed766e6 update documentation to include missing option
'list' was added more recently, it was omitted from the documentation.
11 years ago
Richard Hoop b81d5d532e Creation complete 11 years ago
Richard Hoop a956522363 More config checks and clean up for vm_config settings 11 years ago
Bruce Pennypacker 733508d07f Changed behavior of deregister. If an instance is not found in the ELB then simply return 'changed=false'. Otherwise always remove the instance from the ELB no matter what state its currently in. 11 years ago
James Cammarata f6679d4ad4 Merge pull request #7076 from mscherer/better_message_service
Add a better error message for service
11 years ago
Michael Scherer cf3365b99e Add a better error message for service
While migrating my playbook to a newer ansible version, I faced
the error message "unknown init system, cannot enable service". It turned
out to be caused by a wrong service name that was not expanded anymore.

So by giving the name of the service that cannot be enabled and a more precise
reason, i think people will be able to diagnose their issue more easily.
11 years ago
Richard Hoop 3dca5d510a Large cleanups. Reintegrating all modules together for a guest 11 years ago
James Cammarata 81f25e8b59 Merge pull request #7089 from dagwieers/debug-docs
Add an example to show all hostvars using debug
11 years ago
James Cammarata 234d0053bf Merge pull request #7096 from CaptTofu/docker
Small bug - 'acts' should be 'facts'
11 years ago
James Cammarata 2725538515 Merge pull request #7095 from radeksimko/pokemon-exc-fix
Prevent catching unrelated exceptions
11 years ago
CaptTofu 45d2cab30c Small bug - 'acts' should be 'facts' 11 years ago
Radek Simko 08befa9c86 Prevention for catching unrelated exceptions added 11 years ago
Radek Simko 7d47f46807 Explicit check of return code for autoinstallation of python-apt added
This will allow easier debugging through more meaningful error message.
11 years ago
Dag Wieers a19fbc7b24 Add an example to show all hostvars using debug
This is a useful example to help debug how facts and vars are being collated.
11 years ago
Joshua Conner 0ce43d6e3c 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 bac2e879b2 docker: send 1.10 params if docker-py is new enough version 11 years ago
Andreas Fleig cef705d04f 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 afd0e78f16 docker.client.APIError has moved to docker.errors.APIError
see 18d4db09ec
11 years ago
James Cammarata 019c515a0b Check resource_tags value before using it in ec2_vpc
Fixes #7024
11 years ago