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
2225ee4b85
Merge pull request #2159 from stoned/diff-output
...
Fix diff output vertical spacing
2013-02-21 12:22:04 -08:00
Daniel Hokka Zakrisson
c364e4c77b
cron: Work even without initial crontab
...
Fixes #2165 .
2013-02-21 21:14:29 +01:00
Stoned Elipot
9f2bba01ba
Fix diff output vertical spacing
2013-02-20 22:45: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
Michael DeHaan
169d6e463c
Merge pull request #2153 from jcftang/devel
...
Added more users of ansible (TCHPC and DRI)
2013-02-20 06:23:42 -08:00
Jimmy Tang
7f980bba8f
Added more users of ansible (TCHPC and DRI)
2013-02-20 14:19:12 +00: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
1026fa6ab5
Merge pull request #2122 from lwade/devel
...
Adding ec2-related module example to examples/playbooks
2013-02-20 05:35:52 -08: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
Michael DeHaan
405471bbab
Merge pull request #2143 from lwade/ec2_group_id
...
Add support for security group id parameter ISSUE #2029
2013-02-20 05:13:07 -08:00
Michael DeHaan
52a990ec2b
Merge pull request #2141 from dorfsmay/pullreq-env-simple
...
Prevents PATH, PYTHONPATH etc... to be re-added.
2013-02-20 05:10:56 -08:00
Michael DeHaan
6d604469d8
Always adjust file attributes with the template module.
2013-02-20 08:05:59 -05: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
Yves Dorfsman
dfdc5bda4b
Prevents PATH, PYTHONPATH etc... to be re-added.
2013-02-20 01:12:38 -07: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
Daniel Hokka Zakrisson
18eca152e3
Merge pull request #2130 from lessmian/devel
...
mail module: properly set charset
2013-02-19 12:42:04 -08:00
Daniel Hokka Zakrisson
cc159a68b2
Merge pull request #2131 from lessmian/sysctl_module
...
sysctl module: fixed issue when checks_after fail on comparing keys with...
2013-02-19 12:39:19 -08:00
lessmian
8abca62b92
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
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
Michael DeHaan
1b73227a30
Merge pull request #2128 from lorin/postgres-public
...
postgresql_user: Add support for PUBLIC
2013-02-18 20:40:21 -08:00
Michael DeHaan
7f9bb9084f
Rewrite best practices section.
2013-02-18 23:29:27 -05: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
Michael DeHaan
f06cb8c8b1
Merge pull request #2127 from romeotheriault/uri-doc-fixes
...
uri module doc fixes
2013-02-18 15:15:20 -08:00
Romeo Theriault
1c91917ed5
uri doc fixes
2013-02-18 13:03:19 -10:00
Michael DeHaan
211ae51495
Merge pull request #2123 from lessmian/devel
...
Fixed remove_key
2013-02-18 10:38:05 -08:00
lessmian
8a49dac5d1
Fixed remove_key
2013-02-18 17:03:50 +01:00
lwade
2dbe01ea7c
Adding ec2-related module example to examples/playbooks
2013-02-18 15:44:34 +00: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
c4779d95b8
Removing unused import, 'make pyflakes' is now clean.
2013-02-17 19:49:50 -05:00
Michael DeHaan
8097fd18a2
'make pep8' is now clean
2013-02-17 19:48:02 -05:00
Michael DeHaan
9cf66f4376
Fixes from 'make pep8'. Partial, more to come.
2013-02-17 19:40:38 -05:00
Michael DeHaan
23a0a8daf9
Merge pull request #2113 from johanwiren/zfs
...
zfs: documentation no longer breaks the formatting in webdocs
2013-02-17 16:34:00 -08:00
Michael DeHaan
11e7ede4d9
Merge pull request #2112 from kavink/devel
...
Fixing syntax error
2013-02-17 16:33:34 -08:00
Michael DeHaan
61d01f549f
Show a nicer message when attempting to diff unicode files.
2013-02-17 19:32:28 -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