Commit graph

2041 commits

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.
2013-07-20 17:45:07 +02:00
Michael DeHaan
973b2b1086 Merge pull request #3551 from sfromm/issue3543
Update stat module to handle symlinks
2013-07-20 08:28:36 -07:00
Michael DeHaan
10ac8ba3de Don't add --version HEAD parameter is already HEAD, some versions of git don't like this. 2013-07-20 11:24:16 -04:00
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.
2013-07-20 10:48:39 -04:00
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 2013-07-19 18:21:51 -07:00
Michael DeHaan
a58d827d72 Merge pull request #3379 from serenecloud/devel
Return a friendly error message if aptitude isn't installed
2013-07-19 07:36:39 -07:00
Michael DeHaan
732d3eb8bd Merge pull request #3493 from eest/openbsd_pkg-fixes
openbsd_pkg corner case fixes
2013-07-19 07:30:18 -07:00
Michael DeHaan
669a65922c Merge pull request #3515 from neomantra/apt_repository
apt_repository: enhance documentation
2013-07-19 07:06:05 -07:00
Michael DeHaan
0043de915a Legacy variable usage. 2013-07-19 09:45:08 -04:00
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
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
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
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
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
Evan Wies
5fcf10a3ca apt_repository: enhance documentation 2013-07-12 15:03:37 -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
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
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
Johan Wirén
3e765f7775 Updated GenericBsdIfconfigNetwork to collect gateway 2013-07-11 00:05:53 +02:00
Johan Wirén
a03125e0cf Fix for populating default_ipv6 on BSD systems 2013-07-10 22:54:33 +02:00
Joshua Lund
d75f73fffe Added a new with_file example to the authorized_key documentation 2013-07-10 14:09:03 -06:00
Patrik Lundin
5f53229de2 openbsd_pkg: some whitespace cleanup. 2013-07-10 21:23:10 +02:00