Michael DeHaan
467556708a
Merge pull request #2145 from leucos/sysctl_no_file_check
...
Better sysctl module file check
2013-02-23 09:14:45 -08:00
Daniel Hokka Zakrisson
274f15b52c
Fix version_added for insertbefore in lineinfile
2013-02-23 18:11:10 +01:00
Michael DeHaan
333b6bbaac
Show how to use the more simplified way of including EXAMPLES in docs. We should update
...
all module docs to do this.
2013-02-23 12:03:33 -05:00
Michael DeHaan
5a1aef5372
Merge branch 'local-chroot-support-v2' of git://github.com/mmoya/ansible into testing
2013-02-23 11:51:11 -05:00
Johan Wirén
ee517ea53c
Added support for --check in zfs module
2013-02-22 15:01:18 +01:00
Daniel Hokka Zakrisson
c364e4c77b
cron: Work even without initial crontab
...
Fixes #2165 .
2013-02-21 21:14:29 +01:00
Maykel Moya
5e68143c46
Check presence of files under /proc before opening them
2013-02-20 20:52:45 +01:00
Maykel Moya
8b27085c34
Prevent traceback when /etc/mtab is not available
...
* get_file_contents returns None when file is not available.
When /etc/mtab is pointing to /proc/mounts and /proc is not
mounted, mtab.split will traceback.
2013-02-20 20:52:45 +01:00
Michael DeHaan
a875b63703
Merge pull request #2152 from dagwieers/pause-doc
...
pause: Fix small documentation glitch
2013-02-20 07:20:59 -08:00
Dag Wieers
577f491368
pause: Fix small documentation glitch
2013-02-20 15:17:49 +01:00
Michael DeHaan
7a7d02073a
Merge pull request #2119 from jpmens/uri_json
...
uri: load JSON for content-type: application/json
2013-02-20 05:59:38 -08:00
Jan-Piet Mens
b448cc8eff
uri: load JSON for content-type: application/json
...
document
check prefix of content-type and merge dicts
amend doc
load JSON into 'json' subkey
2013-02-20 14:45:47 +01:00
Michael DeHaan
7834d021b9
Merge pull request #2138 from bcoca/2137_fix_setup_bsdjails
...
fixes freebsd setup issues with jails
2013-02-20 05:29:45 -08:00
Michael DeHaan
ae599d8a61
Merge pull request #2115 from kavink/devel
...
teach apt module to support --check mode
2013-02-20 05:28:21 -08:00
Michel Blanc
e0496634c5
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
6f9d28c8b1
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
0eaa936ba0
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
lwade
107733b174
Add support for security group id parameter, remove default for group name (since AWS already sets a default). ISSUE #2029
2013-02-20 09:31:22 +00:00
Brian Coca
aa713d72ef
fixes freebsd setup issues with jails
...
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
2013-02-19 18:36:25 -05:00
Kavin Kankeshwar
0f166d870a
teach lineinfile module to support --check mode
2013-02-19 14:18:52 -08:00
Kavin Kankeshwar
53924b4599
teach apt module to support --check mode
2013-02-19 14:18:52 -08:00
Daniel Hokka Zakrisson
3f2fd22ed4
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
d2bf205a5d
Fix #2125 and clean up a few things along the way
2013-02-19 22:26:38 +01:00
lessmian
a124a7f6a1
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
e8254dee4d
mail module: properly set charset
2013-02-19 11:33:38 +01:00
Lorin Hochstein
eac339e98a
Add documentation about PUBLIC user
2013-02-18 22:59:51 -05:00
Lorin Hochstein
4a90e2b50a
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
1c91917ed5
uri doc fixes
2013-02-18 13:03:19 -10:00
lessmian
8a49dac5d1
Fixed remove_key
2013-02-18 17:03:50 +01:00
Michael DeHaan
093935ede1
Merge pull request #2116 from lwade/devel
...
Correct ec2_vol doc errors
2013-02-18 04:52:24 -08:00
Daniel Hokka Zakrisson
4a137641d2
check_mode is a module property
2013-02-18 13:23:45 +01:00
lwade
3b9cf8270f
Correct ec2_vol doc errors
2013-02-18 10:14:09 +00:00
Michael DeHaan
ab389d8908
For consistency, add host should take a key named 'name' in addition to 'hostname'.
2013-02-17 20:45:37 -05:00
Michael DeHaan
cc9bc91a6c
Fix typo in zfs module docs
2013-02-17 20:01:15 -05:00
Michael DeHaan
8097fd18a2
'make pep8' is now clean
2013-02-17 19:48:02 -05:00
Johan Wirén
acc58a37df
Set version_added to 1.1
2013-02-18 01:29:51 +01:00
Johan Wirén
5ae5fe83ac
zfs module no longer destroys the layout in webdocs
2013-02-18 01:25:44 +01:00
Michael DeHaan
18cbb64f25
Teach the yum module to support --check mode.
2013-02-17 18:18:43 -05:00
Michael DeHaan
4f249902b3
Taught service how to use --check mode
2013-02-17 17:45:44 -05:00
Michael DeHaan
ad89ab7c5d
Add group support to check mode.
2013-02-17 17:33:42 -05:00
Michael DeHaan
fdbbb171ba
Teach the user module to understand check mode.
2013-02-17 17:33:42 -05:00
Michael DeHaan
b63bf62b13
Remove debug print message
2013-02-17 15:03:30 -05:00
Michael DeHaan
1ecf4a6943
Working on complex argument support.
2013-02-17 15:01:49 -05:00
Michael DeHaan
5a91873983
resolve merge conflict
2013-02-17 13:13:20 -05:00
Daniel Hokka Zakrisson
6ffc8a1441
Recurse was added in 1.1
2013-02-17 18:48:17 +01:00
Michael DeHaan
931b9f41c8
Make note about enablement bit
2013-02-17 12:13:26 -05:00
Michael DeHaan
934f416387
Avoid the 'state=null' coming back from the service module.
2013-02-17 12:11:53 -05:00
Michael DeHaan
e43abe326f
Added a tunneling example
2013-02-17 11:25:42 -05:00
Michael DeHaan
b365e04616
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
ef17fc9f20
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