Commit Graph

7289 Commits (084dc38fbe0a8f1945192fc322b7a34f98979062)
 

Author SHA1 Message Date
Michael DeHaan ffaabc54bb Merge pull request #4559 from greenalto/fix_typo
Fix typo
11 years ago
Greg Karékinian 86f4e03bb5 Fix typo 11 years ago
Michael DeHaan 4484ba8a49 Merge pull request #4553 from mmoya/features
Do key validation only when key is provided
11 years ago
Maykel Moya 2592b2c3f9 Do key validation only when key is provided
key_id is optional, the previous code didn't handle the case of key_id
not specified
11 years ago
jctanner 6480945184 Merge pull request #4541 from Kami/improve_template_render_error_messages
Make errors which get thrown during template rendering more user-friendly
11 years ago
jctanner 7e8e186b3b Merge pull request #4517 from adfinis-sygroup/devel
Remove keys regardless of the options
11 years ago
jctanner c737f222d5 Merge pull request #4480 from joemaller/absent_path_fix
ignore src when file module state=absent
11 years ago
jctanner 51a1a54bfb Merge pull request #4428 from robparrott/devel
Properly handle DEFAULT section with ConfigParser in ini_file modules
11 years ago
James Tanner 23cbdba65e Fixes #4350 Create homedirectory if create=yes and directory is missing 11 years ago
Michael DeHaan 8a3f222d41 Merge pull request #4548 from stoned/ansible-doc-fix
Fix 'ansible-doc -l' runtime error following commit 4430d0f
11 years ago
Stoned Elipot c7217a8f1b Fix 'ansible-doc -l' runtime error following commit 4430d0f
skip "module" not found as plugin, id est directory
11 years ago
Michael DeHaan f9ac88c9da Merge pull request #4547 from stoned/find_plugin-fix
when searching for a plugin only look for a regular file
11 years ago
Michael DeHaan db7e4510f2 Merge pull request #4544 from mmoya/features
apt_key: Validate key_id and accept a leading '0x'
11 years ago
Stoned Elipot 4430d0f5a6 when searching for a plugin only look for a regular file 11 years ago
Michael DeHaan 1317ece644 Merge pull request #4543 from lorin/s3-walrus
s3: better check for walrus
11 years ago
Maykel Moya 1a79d9ae58 apt_key: Validate key_id and accept a leading '0x' 11 years ago
Lorin Hochstein 1c5bdba977 s3: better check for walrus
Check for Walrus endpoint by looking to see if the endpoint is not AWS.

This fixes a bug where the user specifies an AWS endpoint via S3_URL,
but the code interprets it as Walrus and then fails.
11 years ago
Tomaz Muraus 922f61899e Throw a more user-friendly exception during template rendering process. 11 years ago
James Tanner 807e602228 mysql_db: if connection is a socket, do not specify hostname 11 years ago
James Tanner 84a692bcf7 Fixes #4301 Use module_common functions for mysqldump and return better errors 11 years ago
Michael DeHaan efe2a9fb1d Merge pull request #4538 from mulby/gabe/arguments-sudo
Ensure non-root users can read arguments file when using sudo_user and non-standard modules
11 years ago
Yap Sok Ann 8519d586ba git: Don't add --branch while cloning if the version is a SHA-1 hash. 11 years ago
Yap Sok Ann 9f8cdac0aa git: Handle network problem when running `git ls-remote`. 11 years ago
Yap Sok Ann a53e7045a6 git: Always return the before/after revisions, even in check mode.
The return values from check mode and non-check mode should match in all cases,
except when a SHA-1 hash is used as version, as there is no way to check if it
is a valid hash using `git ls-remote`.

Also, to accomodate this change, the force flag for the reset function has been
removed so that we can do the checking in main.
11 years ago
Yap Sok Ann b9558828e8 git: Make function get_remote_head usable when cloning.
This allows the module to return the before/after revisions in all cases.
11 years ago
Yap Sok Ann 2ad4d77c9a git: Remove unnecessary return code checking.
The functions either return rc=0 or call fail_json themselves.
11 years ago
Yap Sok Ann 9af05f4d2f git: Full length SHA-1 in, full length SHA-1 out.
This removes ambiguity at the expense of slight backward incompatibility.
11 years ago
Gabe Mulley 84a57b7545 ensure non-root users can read arguments file when using sudo_user
Non-standard modules must read in the arguments file in order to access their arguments, however, when this file is transfered to the remote host it may only have the permissions 600.  This means that using sudo and sudo_user will result in permission denied errors when attempting to read the arguments file.

This patch fixes #4438 by explicitly forcing the arguments file to be world readable before executing the module.
11 years ago
Michael DeHaan afa781d628 Merge pull request #4530 from geerds/feature/use-bash-executable-in-subprocess-call
Fix TestInventory class by explicitly using /bin/bash
11 years ago
James Tanner 00f3ec645d Fixes #4532 Send easy_install to get_bin_path instead of None 11 years ago
Jascha Geerds 76ed19d279 Fix TestInventory class by explicitly using /bin/bash 11 years ago
jctanner 33faaaa9a0 Merge pull request #4529 from bcoca/warns_no_conflict
fixed name colision between warnings dict and module
11 years ago
Brian Coca bd9acedb57 fixed name colision between warnings dict and module
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
James Tanner 7061c99049 fix indentation in easy_install module docstring 11 years ago
Michael DeHaan ebbf845e09 Merge pull request #4520 from jaugustin/patch-1
[doc] duplicate group in usa:children group
11 years ago
Michael DeHaan cb87a94515 Merge pull request #4519 from mmoya/fixes
Fix building of docsite
11 years ago
Jérémie Augustin ddf1d71b7d [doc] duplicate group in usa:children group 11 years ago
Maykel Moya cd051c4a0d Fix building of docsite
* Fix paths in docsite/Makefile having an additional '..'.
* Ignore generated docsite/rst/modules/*.rst
11 years ago
James Cammarata 35284818a9 Handle ssh key files that may only have a type/key specified
If a specified key did not have a comment, it would be ignored as
an invalid key.

Fixes #4513
11 years ago
James Tanner 6b60267898 Document per task remote_user, based on #3932 11 years ago
jctanner 69fa5954fd Merge pull request #3932 from jocelynj/devel
Add option remote_user to task level, to specify the ssh login user
11 years ago
Stefan Heinemann af704562a9 Set the options of an authorized key comma separated
According to the sshd man page, no spaces are permitted between the
options of an authorized ssh key
11 years ago
Stefan Heinemann 346d46a94c Don't mind the options of a key when removing it
This allows to remove a key without knowing the options in the
authorized_key file
11 years ago
Michael DeHaan e131de4de0 Added "debug: var=variableName" capability. 11 years ago
Michael DeHaan 84ff24d92c Merge pull request #4346 from dmkoch/digitalocean-droplet-options
Add "virtio" and "private_networking" options for DigitalOcean droplets
11 years ago
Michael DeHaan 8349c04d06 Merge pull request #4488 from renanivo/devel
create install_options parameter for homebrew module
11 years ago
Michael DeHaan aa57e75f1a Merge pull request #4504 from eggsby/realpath
Adding os realpath filter.
11 years ago
egghead ca7e2d283c Adding os realpath filter.
This is particularly useful when wanting to get the absolute path of filepaths found by the 'fileglob' filter.
This also lets you provide absolute paths to roles, which search for files in different areas unless absolutely pathed.
11 years ago
jctanner 79071aee79 Merge pull request #4470 from jyap808/patch-1
Assume state='directory' if recurse is set and previous state was 'direc...
11 years ago
Michael DeHaan b8ec300d4c Add note about feature being new in 1.4 11 years ago