Commit Graph

2718 Commits (e939a41bfbd5a975bb9c96a5716c12eae2dcf1fb)
 

Author SHA1 Message Date
James Tanner 9128862b3b Fixes #4301 Use module_common functions for mysqldump and return better errors 11 years ago
Yap Sok Ann e568c63108 git: Don't add --branch while cloning if the version is a SHA-1 hash. 11 years ago
Yap Sok Ann d77276380f git: Handle network problem when running `git ls-remote`. 11 years ago
Yap Sok Ann 633438bfbb 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 12c4bf51b8 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 3ff0c6d50d git: Remove unnecessary return code checking.
The functions either return rc=0 or call fail_json themselves.
11 years ago
Yap Sok Ann 201ff02d1f git: Full length SHA-1 in, full length SHA-1 out.
This removes ambiguity at the expense of slight backward incompatibility.
11 years ago
James Tanner 56ffd4edbb Fixes #4532 Send easy_install to get_bin_path instead of None 11 years ago
James Tanner 875a7aa020 fix indentation in easy_install module docstring 11 years ago
James Cammarata 57cec2a88b 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
Stefan Heinemann 576f5813a2 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 948713db5e 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
Mickaël Rémond 4d334b3c86 Add executable parameter to find gem binary in gem module
This is especially needed with rvm where gem binary can be in unusual locations
11 years ago
Michael DeHaan 4503cbebc0 Added "debug: var=variableName" capability. 11 years ago
Michael DeHaan 05251f2745 Merge pull request #4346 from dmkoch/digitalocean-droplet-options
Add "virtio" and "private_networking" options for DigitalOcean droplets
11 years ago
Michael DeHaan 4105af455e Merge pull request #4488 from renanivo/devel
create install_options parameter for homebrew module
11 years ago
jctanner c617705687 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 a3df406554 Add note about feature being new in 1.4 11 years ago
Constantine Peresypkin c2eef4d139 add support for disk_config option to cloud/rax module 11 years ago
Michael DeHaan 377b3f4b6f Merge branch 'devel' of git://github.com/shirou/ansible into devel 11 years ago
Pedro Romano c73d8012b4 Implement a '_get_easy_install' helper function to find the desired
'easy_install' executable, modeled on '_get_pip'
from the 'pip' module to correctly handle all combinations of explicit
executable and virtualenv.
11 years ago
Pedro Romano 1391add126 Refactor helper function '_get_pip' to handle the cases where an absolute
path explicit executable is passed to the task and to look for an explicit executable
by basename in a virtualenv if that is specified.
11 years ago
Pedro Romano 8a843e997f New module argument to specify the executable used for running 'pip'. This allows support for system installation of packages on systems with multiple installations of Python. 11 years ago
Pedro Romano 506d476d9d New module argument to specify the executable used for running 'easy_install'. This allows support for system installation of packages on systems with multiple installations of Python. 11 years ago
Pedro Romano 0f2722d761 Rename copy/pasted variables more appropriately. 11 years ago
Pedro Romano ddcac647ff Changes examples from using Flask to some other package (Bottle was chosen) as per @mpdehaan's suggestion. 11 years ago
Michael DeHaan 6e4c1bf4fa Slight tweak to ovirt module docs. 11 years ago
Michael DeHaan 98045673eb Update version_added in ovirt module. 11 years ago
Michael DeHaan 459af0a7c5 Merge pull request #3838 from vincentvdk/ovirt-mod
added new module "ovirt"
11 years ago
Michael DeHaan 2587298f5d Some minor doc updates for the acl module. 11 years ago
Michael DeHaan 1158164c90 Merge pull request #3610 from bcoca/acl_module
initial draft acl module
11 years ago
Brian Coca 6db8c642d5 added long names to support older version as per feedback
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Jurrien Bloemen d56db0c85a Added full path to rhnreg_ks command for working correctly with sudo. 11 years ago
Keith Buck 5397f90f0c Improve the formatting and content for the sysctl module's description. 11 years ago
Eric Johnson b212632808 update defaults and help for 'name' and 'instance_names' 11 years ago
Eric Johnson b4533c880b address a few review comments 11 years ago
Renan Ivo ecb9b2ea0f update version_added of homebrew module 11 years ago
Renan Ivo 086da3dafc set default options value to None in homebrew module 11 years ago
Renan Ivo d038ea2956 create install_options parameter to homebrew module 11 years ago
Michael DeHaan 2921775944 Merge pull request #4477 from eggsby/devel
supervisorctl: user expansion on config filepath
11 years ago
Joe Maller f7e30347f6 ignore src when file module state=absent 11 years ago
Thomas Omans e83eb54d1f supervisorctl: user expansion on config filepath 11 years ago
Michael Scherer 93a75a4d83 Fix issue 4433, make sure status is a int rather than a string 11 years ago
Harrison Gu e31927a03e Fix bug for setting ec2 tags 11 years ago
Julian Yap 48d2747b6a Assume state='directory' if recurse is set and previous state was 'directory'
Resolves this issue: https://github.com/ansible/ansible/issues/2067
11 years ago
Andrew Pope 4e56510fab Fixed broken force=yes on files for directories 11 years ago
James Cammarata 2753a40d5a Adding 'unique' option to authorized_key module and cleanup
A small refactoring of the authorized_key module to accomodate these
changes, plus fixing some things like not rewriting the file on every
new key. These changes bring the original feature for ssh options in-
line with the comments in #3798

Fixes #3785
11 years ago
David Minor 0828d3a316 Add ssh key options parameter to authorized_key module 11 years ago
Michael DeHaan 04744ca706 Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 11 years ago
Andy Kluger 1cc0a8af6d Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples) 11 years ago