Commit Graph

2323 Commits (8d6e302cf84531fae4506eb5ce86aa9b57f3165a)
 

Author SHA1 Message Date
Patrik Lundin b9b8f90d91 openbsd_pkg: Use ansible run_command().
This fixes an asterisk glob problem in get_package_state() where a file
in /root/ could cause shell expansion if it matched the package name.
The actual problem is solved by running with shell=False.
11 years ago
Michael DeHaan 973b2b1086 Merge pull request #3551 from sfromm/issue3543
Update stat module to handle symlinks
11 years ago
Michael DeHaan 10ac8ba3de Don't add --version HEAD parameter is already HEAD, some versions of git don't like this. 11 years ago
Michael DeHaan fe6c6e6779 Revert "Added an elb_region parameter for interacting with the ec2 elastic load balancer to work with regions other than us-east-1"
This reverts commit 1264a5b47d.
11 years ago
Ian O Connell 8fc80f296e Added an elb_region parameter for interacting with the ec2 elastic load balancer to work with regions other than us-east-1 11 years ago
Michael DeHaan a58d827d72 Merge pull request #3379 from serenecloud/devel
Return a friendly error message if aptitude isn't installed
11 years ago
Michael DeHaan 732d3eb8bd Merge pull request #3493 from eest/openbsd_pkg-fixes
openbsd_pkg corner case fixes
11 years ago
Michael DeHaan 669a65922c Merge pull request #3515 from neomantra/apt_repository
apt_repository: enhance documentation
11 years ago
Michael DeHaan 0043de915a Legacy variable usage. 11 years ago
Michael DeHaan d0119f9f8c Trim legacy variable usage. 11 years ago
Michael DeHaan 8a135ed572 Remove legacy variable usage. 11 years ago
Michael DeHaan 43429e9663 Removing legacy variable usage. 11 years ago
Michael DeHaan 957d0a79c0 Legacy variable usage removed. 11 years ago
Michael DeHaan 7cf87d7a3c Legacy variable usage removed 11 years ago
Michael DeHaan eb560fb7b8 Trim old style var references. 11 years ago
Michael DeHaan ece707bc6e Trim old style var references 11 years ago
Michael DeHaan d2a0bdebd5 Merge pull request #3523 from jpmens/mysql1
mysql_db small fix to docs
11 years ago
Michael DeHaan 0bd375f83e Merge pull request #3578 from jlaska/git_branch
(git module) Resolve incompatability between depth and version
11 years ago
Florian Tham 865a663d05 fix fatal error when removing logical volumes 11 years ago
Brian Coca 93f8483d68 new module that handles extended attributes on files
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Bruce Pennypacker d20ab9eaf3 added AAAA example 11 years ago
James Laska cf563c6838 Resolve incompatability between depth and version
Git is unable to checkout the specified `version` when the repository is
cloned with a reduced history (`depth`).  However, if the repository is
already cloned, subsequent git module calls will update the repository
(default update=True), then properly checkout the specified `version`.
To allow the initial call to properly clone the specified `version`, at
the specified `depth`, this patch adds the `--branch` parameter when
cloning the repository.
11 years ago
Bruce Pennypacker ad64b8416e fixed doc typos 11 years ago
Bruce Pennypacker 7fe34e0b37 AWS route53 module 11 years ago
Andrew Todd bd9d3d4fdd Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable. 11 years ago
Stephen Fromm d43f5d3ab7 Update stat module to handle symlinks
Add follow parameter to stat module that controls whether to follow
symlinks.  It defaults to no.
This then calls os.stat or os.lstat based on the value of follow.
Add lnk_source key/value pair if path is a symlink and follow=no.
Drop the statement that sets isdir=False and islnk=True when path is a
symlink that points to a directory.
11 years ago
Lester Wade 7984891d36 Added IAM role support 11 years ago
Antti Rasinen f9e9286b2c Make zfs set_property accept values with embedded spaces
Converting the argument list to a string with ' '.join causes
the shell interpreter to misparse spaces in property values.
Since the zfs command does not need shell anywhere, using
a list instead of a string works just as well with run_command. 

Fixes #3545.
11 years ago
Antti Rasinen 8bfe9f6942 Fix zfs property parsing
Current property parser breaks when values contain spaces. Since
zfs get -H returns tab separated lines,  it is better to explicitly
split on tabs than on whitespace.
11 years ago
Alexander Winkler 1e99f81c78 fixes ansible/ansible#3547 11 years ago
Xabier Larrakoetxea 6fb37c5825 Added redis config module (slave and flush) 11 years ago
Michael DeHaan 5603c32929 Fixing your YAML Seth :) 11 years ago
trbs 98b284159f fix missing json module for issue #3363 print JSON error as string instead 11 years ago
Brian Coca dd1ffce0a0 now won't throw exception if we don't have permission to stat a mtab
entry on linux (weird chromebook issue)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Jan-Piet Mens 683e9e27c0 mysql_db small fix to docs 11 years ago
Seth Vidal 915d8e1847 add examples for yum: state=latest name=* 11 years ago
Seth Vidal de7d291d1e add a '*' option for name to state=latest to do a global update 11 years ago
Dag Wieers f38d7bc7f0 Fix inconsistent json output
The file module would in some cases return dest=/path/to/file, and in other cases return path=/path/to/file, this change makes it more consistent and in line with all the other file-related modules (i.e. copy, assemble, template, ...) by using dest= instead of path= as the input and output argument. (Of course, path is still there as an alias for compatibility).
11 years ago
Evan Wies 5fcf10a3ca apt_repository: enhance documentation 11 years ago
Evan Wies e48fb1e9a9 supervisor_ctl: rename to server_url and improve documentation 11 years ago
Michael DeHaan 1ba8322277 Merge pull request #3508 from ipauldev/devel
Allow check mode when gathering ec2 facts
11 years ago
Michael DeHaan b22428d87e Merge pull request #3426 from trbs/services_sleep_option
sleep option for service module which adds a pauze between stopping and ...
11 years ago
Michael DeHaan 22f6e6c4cd Merge pull request #3425 from jpmens/stat1
files/stat: add pw_name and md5 sum to stat, and add meaningful? example
11 years ago
Michael DeHaan 2596f892f0 Merge pull request #3510 from echohead/quantum-typo
Correct typo in error message.
11 years ago
Frank Shearar c0de378e15 'prefix' avoids potentially making people confuse 'path' with $PATH. 11 years ago
Tim Miller 63c105beb1 Correct typo of 'quantun' in error message. 11 years ago
ipauldev 9dd620c687 Allow check mode when gathering ec2 facts 11 years ago
Bryan Larsen f440b5b46a update_attr should wait for the full wait timeout before checking for a missing IP addres 11 years ago
Bryan Larsen 3fe9756281 digital_ocean doc update 11 years ago
Bryan Larsen 69ff43d253 digital_ocean: don't run update_attr if wait=no
Sometimes when using digital_ocean with wait=no I get the error "No ip is found".  But with wait=no I wouldn't expect there to be any IP, that gets allocated later.   However, looking at the code, it turns out that with even with wait=no it waits up to 10 seconds for an IP to be allocated.  We could wait longer, but with wait=no that seems like the wrong choice; it's easy enough to grab an IP later with a wait=yes command.

To make this change I removed the call to update_attr in @classmethod add.  An add is always followed by an ensure_powered_on which will do the update_attr if wait=yes.   It would be possible to instead do a call to update_attr with no retries and ignore the errors but I figured it would be better to be consistently not return an IP than to sometimes return it and sometimes not.   Inconsistent behaviour makes debugging deployment scripts very difficult.
11 years ago