Michel Blanc
008dc4831e
Improves lineinfile and adds file attr option
...
Added path expanding for dest in lineinfile
Added common file arguments to lineinfile so the module gets owner,
group, mode and SE options.
Decorated existing example to demonstate usage of file options and added
a couple more examples
Message is not set accordingly when file attributes were changed
'absent' handling code now handles the case where the file doesn't
exists (was issuing a Traceback before)
File attribute handling code has been added to the 'absent' handling
function too.
File attributes handling has been grouped in 'def check_file' since it's
required in both places.
'absent' mode now returns a message like it's counterpart 'present',
telling if file attributes were altered and if lines have matched.
2013-02-22 09:33:21 +01:00
Daniel Hokka Zakrisson
c364e4c77b
cron: Work even without initial crontab
...
Fixes #2165 .
2013-02-21 21:14:29 +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
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
Michael DeHaan
c000bd846b
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
5f829f9926
Add versionadded element to new option, fix YAML formatting
2013-02-16 15:40:31 -05:00
Michael DeHaan
369d586651
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
cb3d26c500
Merge pull request #2084 from johanwiren/zfs
...
Added zfs module
2013-02-16 10:37:58 -08:00
Michael DeHaan
a01525bd30
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
df63f60b63
Tweak doc examples
2013-02-16 13:32:49 -05:00
Romeo Theriault
1232e498c4
fixed the documentation so it build properly
2013-02-16 13:32:48 -05:00
Romeo Theriault
2ecf3f9b94
moved module checking below module initialization
2013-02-16 13:32:48 -05:00
Romeo Theriault
27145fab7f
uri module
2013-02-16 13:32:48 -05:00