Michel Blanc
627577ecc9
Fixes unused var and avoid reassigning keys
...
Changed code so key doesn't get reassigned in loop
Made use of filtr variable
2013-02-20 19:12:01 +01:00
Michel Blanc
139e06d9af
Added more examples for the filter option in setup
...
Added examples covering all available globs
Added a use case of filtering only facts returned by facter
2013-02-20 18:13:05 +01:00
Michel Blanc
5f4a24557b
Adds example for filter option in setup module
...
Added an example on how to filter keys returned by the module.
2013-02-20 17:57:59 +01:00
Michel Blanc
75b687247a
Adds filter option to setup module
...
Adds facts filtering using fnmatch, via the 'filter' option.
Usage:
ansible -m setup -a 'filter=ansible_*_mb'
2013-02-20 17:53:14 +01: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
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
Kavin Kankeshwar
359ac9a495
Fixing syntax error
...
running install_lib
byte-compiling /usr/lib/python2.6/site-packages/ansible/runner/action_plugins/add_host.py to add_host.pyc
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ansible/runner/action_plugins/add_host.py', 37, 92, ' def run(self, conn, tmp, module_name, module_args, inject, complex_args=None, **kwargs)\n'))
2013-02-17 15:35:58 -08: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
b3eb1f32e3
update hacking/test_module script to be aware of complex arguments, though it does not pass them.
2013-02-17 17:33:42 -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
Daniel Hokka Zakrisson
43d22b0c42
Flatten argument to with_items
...
Fixes #1711 .
2013-02-17 22:08:23 +01:00
Michael DeHaan
f02b9987fc
We all agreed on the list that the ansible module common module snippet, since it's dynamically embedded in modules on the fly, should
...
be a BSD licensed snippet so that it's ok to write proprietary modules. The actual license of Ansible (GPLv3) or any modules
written for ansible (any) do not change.
2013-02-17 15:41:59 -05:00
Michael DeHaan
8992fee2ab
Correct documentation example, Snowball was a hampster.
2013-02-17 15:17:24 -05:00
Michael DeHaan
7da9992110
Add complex arguments example
2013-02-17 15:06:17 -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
Michael DeHaan
15901e8585
Merge pull request #2109 from lorin/pipe_once_docs
...
Document new PIPE_ONCE macro
2013-02-17 09:57:50 -08:00
Lorin Hochstein
c6778e796c
Specified when PIPE_ONCE was added.
...
Also, now shows when "Getting values from files" was added, a sphinx
directive was missing a colon.
2013-02-17 12:55:47 -05:00
Daniel Hokka Zakrisson
6ffc8a1441
Recurse was added in 1.1
2013-02-17 18:48:17 +01:00
Lorin Hochstein
ec16b854a5
Document new PIPE_ONCE macro
2013-02-17 12:47:51 -05:00
Michael DeHaan
cd32597af0
Make the file module work as expected in check mode
2013-02-17 12:27:00 -05:00