Michel Blanc
8b5df82b74
Removes useless empty string write
...
It s not necessary to write an empty string for the file to be created.
2013-02-20 14:20:27 +01:00
Michel Blanc
05d45fc1fa
Changed when new sysctl file is created
...
When destination sysctl file is missing, it is created.
But, for idempotency purposes, the creation process now takes place just before it is used, in the
main code path so an empty file is not left over if the code
module.fail_jsons before the file is really used.
2013-02-20 12:52:30 +01:00
Michel Blanc
aea822c47a
Removes exception is sysctl file is missing
...
When syscl file was missing, sysctl module was complaining about it and
bailing out.
This behaviour prevents usage of /etc/sysctl.d directory, present in
some distributions.
This patch accepts a missing sysctl.conf file so sysctl.d directory can
be used.
However, it will bail out if the destination directory doesn't exist.
2013-02-20 12:42:49 +01:00
Daniel Hokka Zakrisson
5bb76f5eca
Don't consider packages missing from the cache an error on remove
...
Fixes #2017 .
2013-02-19 23:18:17 +01:00
Daniel Hokka Zakrisson
4ff37b8369
Fix #2125 and clean up a few things along the way
2013-02-19 22:26:38 +01:00
Daniel Hokka Zakrisson
8b46201dff
Merge pull request #2130 from lessmian/devel
...
mail module: properly set charset
2013-02-19 12:42:04 -08:00
lessmian
a6096018dc
sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings
2013-02-19 15:50:13 +01:00
lessmian
2366654c26
sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings
2013-02-19 15:45:08 +01:00
lessmian
6fdfa5016c
mail module: properly set charset
2013-02-19 11:33:38 +01:00
Lorin Hochstein
a9dfc40c51
Add documentation about PUBLIC user
2013-02-18 22:59:51 -05:00
Lorin Hochstein
6952d16979
postgresql_user: Add support for PUBLIC
...
This change enables users to add and remove permissions to all roles,
using the PUBLIC user. This is equivalent to using the PUBLIC keyword
in GRANT and DENY postgres SQL commands.
For example, see: <http://www.postgresql.org/docs/current/interactive/sql-grant.html >
Fixes #1833
2013-02-18 21:33:36 -05:00
Romeo Theriault
c2fdb768e5
uri doc fixes
2013-02-18 13:03:19 -10:00
lessmian
8f02a2fca3
Fixed remove_key
2013-02-18 17:03:50 +01:00
Michael DeHaan
8958e75496
Merge pull request #2116 from lwade/devel
...
Correct ec2_vol doc errors
2013-02-18 04:52:24 -08:00
Daniel Hokka Zakrisson
6a68a4b101
check_mode is a module property
2013-02-18 13:23:45 +01:00
lwade
83e62be7f0
Correct ec2_vol doc errors
2013-02-18 10:14:09 +00:00
Michael DeHaan
d3cd8f2952
For consistency, add host should take a key named 'name' in addition to 'hostname'.
2013-02-17 20:45:37 -05:00
Michael DeHaan
e4359bf3cc
Fix typo in zfs module docs
2013-02-17 20:01:15 -05:00
Michael DeHaan
65b826a8a8
'make pep8' is now clean
2013-02-17 19:48:02 -05:00
Johan Wirén
d97f62f77b
Set version_added to 1.1
2013-02-18 01:29:51 +01:00
Johan Wirén
53b02a23cb
zfs module no longer destroys the layout in webdocs
2013-02-18 01:25:44 +01:00
Michael DeHaan
168e11106f
Teach the yum module to support --check mode.
2013-02-17 18:18:43 -05:00
Michael DeHaan
813dd8380f
Taught service how to use --check mode
2013-02-17 17:45:44 -05:00
Michael DeHaan
ad1d038041
Add group support to check mode.
2013-02-17 17:33:42 -05:00
Michael DeHaan
69784f0215
Teach the user module to understand check mode.
2013-02-17 17:33:42 -05:00
Michael DeHaan
1900cc68a7
Remove debug print message
2013-02-17 15:03:30 -05:00
Michael DeHaan
fba1d755d6
Working on complex argument support.
2013-02-17 15:01:49 -05:00
Michael DeHaan
711bc4db05
resolve merge conflict
2013-02-17 13:13:20 -05:00
Daniel Hokka Zakrisson
3f170b54e2
Recurse was added in 1.1
2013-02-17 18:48:17 +01:00
Michael DeHaan
99021c1abd
Make note about enablement bit
2013-02-17 12:13:26 -05:00
Michael DeHaan
4f5949eead
Avoid the 'state=null' coming back from the service module.
2013-02-17 12:11:53 -05:00
Michael DeHaan
9ed2d01497
Added a tunneling example
2013-02-17 11:25:42 -05:00
Michael DeHaan
9c93967b38
Allow add_host to add hosts to multiple groups, groups is now an alias for groupname.
2013-02-17 11:22:50 -05:00
Rob Parrott
a1458146a4
add the ability to take variables in the add_host module, and be willing to parse a host:port hostname handed to add_host
2013-02-16 20:27:38 -05:00
Michael DeHaan
f4629c2bdf
Hate to do this, but URI module docs were constructing messed up RST files, so removing examples for now. Will ask someone to work on them.
2013-02-16 18:45:59 -05:00
Michael DeHaan
d96d16c0dc
Add versionadded element to new option, fix YAML formatting
2013-02-16 15:40:31 -05:00
Michael DeHaan
33ed91cd13
Merge pull request #2086 from lwade/devel
...
Adding a simple EC2 volume module for creation and attach
2013-02-16 10:38:52 -08:00
Michael DeHaan
99ca1bae53
Merge pull request #2084 from johanwiren/zfs
...
Added zfs module
2013-02-16 10:37:58 -08:00
Michael DeHaan
455f4b3ba6
Merge branch 'aix-fixes' of git://github.com/dagwieers/ansible into devel
...
Conflicts:
library/setup
Tweak formatting.
2013-02-16 13:35:37 -05:00
Michael DeHaan
d9d033fa58
Tweak doc examples
2013-02-16 13:32:49 -05:00
Romeo Theriault
93baccce01
fixed the documentation so it build properly
2013-02-16 13:32:48 -05:00
Romeo Theriault
0e15b95787
moved module checking below module initialization
2013-02-16 13:32:48 -05:00
Romeo Theriault
8b458b2921
uri module
2013-02-16 13:32:48 -05:00
James Martin
b99beba5e7
Using "OtherLinux" in module_commons, cleander detection in setup.
2013-02-16 13:32:48 -05:00
James Martin
458c50e7a3
Support for amazon linux distribution facts.
2013-02-16 13:32:48 -05:00
Yves Dorfsman
1cc9fa0fc8
Modified to follow Daniel Hokka Zakrisson's recommendations.
2013-02-16 13:32:48 -05:00
Yves Dorfsman
fb933cb30c
Added an insertbefore option.
2013-02-16 13:32:48 -05:00
Blair Zajac
6d5991aa4c
Simplify and correct comparisons with None.
2013-02-16 13:32:48 -05:00
Michael DeHaan
018f756c9d
Merge pull request #2091 from davixx/sysctl2004
...
Solving bug : sysctl check_after failing on multi-value sysctl parameters
2013-02-16 10:19:16 -08:00
Michael DeHaan
e6b64cc820
Merge pull request #2079 from huberteff/devel
...
Add NetBSD support for 'service' module, and add an example to 'lineinfile'
2013-02-16 10:08:25 -08:00