Commit Graph

2507 Commits (c798b064a0d57319c5094827e0cae93d8f04a671)
 

Author SHA1 Message Date
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
Michael DeHaan a413ddb447 Merge pull request #3501 from cristobalrosa/devel
Devel
11 years ago
Michael DeHaan aa17420fc2 Merge pull request #3453 from jsmartin/cleanup
Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is in...
11 years ago
Michael DeHaan 6dcca9a0f9 Merge pull request #3488 from weltenwort/devel
Use the force=yes option for apt upgrade actions
11 years ago
Michael DeHaan 7dfafc6ec4 Merge pull request #3496 from johanwiren/bsd-ipv6-facts
Fix for populating default_ipv6 on BSD systems
11 years ago
Michael DeHaan 38ac6c9abd Merge pull request #3497 from johanwiren/bsd-gateway
Updated setup module to collect gateway fact for BSD systems
11 years ago
Michael DeHaan 03605484f8 Merge pull request #3388 from bcoca/fixed_user_create_doc
updated module docs to reflect 'correct' on_create vs on_creation
11 years ago
Michael DeHaan 701f55119f Merge pull request #3406 from podollb/devel
fixing small mis-spelling
11 years ago
Michael DeHaan 2a1a68a672 Merge pull request #3432 from jlund/hg-spelling
Fix some minor spelling mistakes in the hg module documentation
11 years ago
Michael DeHaan e0e97c16f3 Merge pull request #3480 from j2sol/fail_doc
Update fail docs for new syntax
11 years ago
Johan Wirén 3e765f7775 Updated GenericBsdIfconfigNetwork to collect gateway 11 years ago
Johan Wirén a03125e0cf Fix for populating default_ipv6 on BSD systems 11 years ago
Joshua Lund d75f73fffe Added a new with_file example to the authorized_key documentation 11 years ago
Patrik Lundin 5f53229de2 openbsd_pkg: some whitespace cleanup. 11 years ago
Patrik Lundin 023711bb2c openbsd_pkg: sync package_latest().
This diff syncs package_latest() with the changes to package_present().
I have not managed to figure out how to handle the cornercases where
stderr is set but the command has not failed, so leave a FIXME blob for
other adventurers.
11 years ago
Patrik Lundin 8646df0a1f openbsd_pkg: Handle another pkg_add gotcha
* Add '-m' to pkg_add incovation to get access to the "packagename-1.0: ok"
  message.
* Watch for that message if we are about to fail because of stderr in
  package_present().
11 years ago
Darragh O'Reilly e3fabe8050 Keystone_user module: fix authentication needs tenant_name too
The keystone client needs to be passed tenant_name when authenticating the
user/password way. Also it needs auth_url instead of endpoint.
This fix adds login_tenant_name as a module parameter which is consistent
with the other OpenStack modules.
11 years ago