Commit graph

2264 commits

Author SHA1 Message Date
Michael DeHaan
d0119f9f8c Trim legacy variable usage. 2013-07-19 09:44:25 -04:00
Michael DeHaan
8a135ed572 Remove legacy variable usage. 2013-07-19 09:43:27 -04:00
Michael DeHaan
43429e9663 Removing legacy variable usage. 2013-07-19 09:42:22 -04:00
Michael DeHaan
957d0a79c0 Legacy variable usage removed. 2013-07-19 09:40:53 -04:00
Michael DeHaan
7cf87d7a3c Legacy variable usage removed 2013-07-19 09:40:00 -04:00
Michael DeHaan
eb560fb7b8 Trim old style var references. 2013-07-19 09:38:31 -04:00
Michael DeHaan
ece707bc6e Trim old style var references 2013-07-19 09:37:19 -04:00
Michael DeHaan
d2a0bdebd5 Merge pull request #3523 from jpmens/mysql1
mysql_db small fix to docs
2013-07-19 06:23:25 -07:00
Michael DeHaan
0bd375f83e Merge pull request #3578 from jlaska/git_branch
(git module) Resolve incompatability between depth and version
2013-07-19 06:02:54 -07:00
Florian Tham
865a663d05 fix fatal error when removing logical volumes 2013-07-19 10:59:11 +02:00
Brian Coca
93f8483d68 new module that handles extended attributes on files
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-18 22:29:07 -04:00
Bruce Pennypacker
d20ab9eaf3 added AAAA example 2013-07-18 17:12:14 -04:00
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.
2013-07-18 17:03:17 -04:00
Bruce Pennypacker
ad64b8416e fixed doc typos 2013-07-18 15:41:44 -04:00
Bruce Pennypacker
7fe34e0b37 AWS route53 module 2013-07-18 13:45:00 -04:00
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. 2013-07-17 16:37:04 -04:00
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.
2013-07-16 10:27:38 -07:00
Lester Wade
7984891d36 Added IAM role support 2013-07-16 13:31:30 +01:00
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.
2013-07-16 14:01:14 +03:00
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.
2013-07-16 13:49:19 +03:00
Alexander Winkler
1e99f81c78 fixes ansible/ansible#3547 2013-07-16 09:17:57 +02:00
Xabier Larrakoetxea
6fb37c5825 Added redis config module (slave and flush) 2013-07-15 21:47:36 +02:00
Michael DeHaan
5603c32929 Fixing your YAML Seth :) 2013-07-15 13:16:37 -04:00
trbs
98b284159f fix missing json module for issue #3363 print JSON error as string instead 2013-07-15 16:50:31 +02:00
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>
2013-07-14 22:59:24 -04:00
Jan-Piet Mens
683e9e27c0 mysql_db small fix to docs 2013-07-14 13:11:03 +02:00
Seth Vidal
915d8e1847 add examples for yum: state=latest name=* 2013-07-13 14:29:04 -04:00
Seth Vidal
de7d291d1e add a '*' option for name to state=latest to do a global update 2013-07-13 14:28:52 -04:00
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).
2013-07-12 21:23:34 +02:00
Evan Wies
5fcf10a3ca apt_repository: enhance documentation 2013-07-12 15:03:37 -04:00
Evan Wies
e48fb1e9a9 supervisor_ctl: rename to server_url and improve documentation 2013-07-12 11:53:26 -04:00
Michael DeHaan
1ba8322277 Merge pull request #3508 from ipauldev/devel
Allow check mode when gathering ec2 facts
2013-07-12 08:20:33 -07:00
Michael DeHaan
b22428d87e Merge pull request #3426 from trbs/services_sleep_option
sleep option for service module which adds a pauze between stopping and ...
2013-07-12 08:18:22 -07:00
Michael DeHaan
22f6e6c4cd Merge pull request #3425 from jpmens/stat1
files/stat: add pw_name and md5 sum to stat, and add meaningful? example
2013-07-12 07:21:09 -07:00
Michael DeHaan
2596f892f0 Merge pull request #3510 from echohead/quantum-typo
Correct typo in error message.
2013-07-12 05:39:12 -07:00
Frank Shearar
c0de378e15 'prefix' avoids potentially making people confuse 'path' with $PATH. 2013-07-12 10:13:53 +01:00
Tim Miller
63c105beb1 Correct typo of 'quantun' in error message. 2013-07-11 21:12:24 -07:00
ipauldev
9dd620c687 Allow check mode when gathering ec2 facts 2013-07-11 19:50:55 -05:00
Bryan Larsen
f440b5b46a update_attr should wait for the full wait timeout before checking for a missing IP addres 2013-07-11 14:05:26 -04:00
Bryan Larsen
3fe9756281 digital_ocean doc update 2013-07-11 13:33:42 -04:00
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.
2013-07-11 13:30:42 -04:00
Michael DeHaan
a413ddb447 Merge pull request #3501 from cristobalrosa/devel
Devel
2013-07-11 06:20:48 -07:00
Michael DeHaan
aa17420fc2 Merge pull request #3453 from jsmartin/cleanup
Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is in...
2013-07-11 06:03:19 -07:00
Michael DeHaan
6dcca9a0f9 Merge pull request #3488 from weltenwort/devel
Use the force=yes option for apt upgrade actions
2013-07-11 05:56:32 -07:00
Michael DeHaan
7dfafc6ec4 Merge pull request #3496 from johanwiren/bsd-ipv6-facts
Fix for populating default_ipv6 on BSD systems
2013-07-11 05:55:53 -07:00
Michael DeHaan
38ac6c9abd Merge pull request #3497 from johanwiren/bsd-gateway
Updated setup module to collect gateway fact for BSD systems
2013-07-11 05:55:26 -07:00
Michael DeHaan
03605484f8 Merge pull request #3388 from bcoca/fixed_user_create_doc
updated module docs to reflect 'correct' on_create vs on_creation
2013-07-11 05:34:37 -07:00
Michael DeHaan
701f55119f Merge pull request #3406 from podollb/devel
fixing small mis-spelling
2013-07-11 05:29:11 -07:00
Michael DeHaan
2a1a68a672 Merge pull request #3432 from jlund/hg-spelling
Fix some minor spelling mistakes in the hg module documentation
2013-07-11 05:26:57 -07:00
Michael DeHaan
e0e97c16f3 Merge pull request #3480 from j2sol/fail_doc
Update fail docs for new syntax
2013-07-11 05:22:47 -07:00