Commit graph

13366 commits

Author SHA1 Message Date
Toshio Kuratomi
a6fbd83660 * Transform vars_prompt result to unicode type before returning (Fixes #10319)
* Rename prompt method as do_prompt to avoid potential bug when logging via a callback plugin
2015-02-23 07:59:20 -08:00
Brian Coca
db91ab35e7 Merge pull request #10315 from alobbs/branch-10225
v2 Avoids ssh Runtime error
2015-02-23 10:19:00 -05:00
Toshio Kuratomi
d17efb4346 Add plugin loader optimization to the changelog: https://github.com/ansible/ansible/pull/10275 2015-02-23 07:09:33 -08:00
Toshio Kuratomi
920b71984e lists => frozenset as we're only using them in membership checks 2015-02-23 07:09:33 -08:00
Brian Coca
161eb6d30d Merge pull request #10313 from alobbs/devel
Prevents trailing zeros to be truncated from strings in hosts ini inventory variables
2015-02-23 09:50:36 -05:00
Brian Coca
b9aa8f07be skips certain ssh errors and attempts to continue
should fix #10225
2015-02-23 05:17:41 -05:00
Dann Bohn
5da5fa15c6 rm duplicate 2015-02-22 02:29:10 -05:00
Dann Bohn
b9bfb22a9d fix https transport bug 2015-02-21 17:43:59 -05:00
Alvaro Lopez Ortega
2dc910bd14 Fixes bug #10225 - Runtime error
Prevents an exception from raising in some corner cases where SSH might
be misconfigured. It seems not to fix a specific problem, although it
makes the method a little bit more solid.
2015-02-21 22:36:03 +01:00
Alvaro Lopez Ortega
2e929cf0ce Fixes bug #10281 - Trailing zeros were truncated from strings 2015-02-21 19:54:38 +01:00
Alvaro Lopez Ortega
a14248ffe1 Fixes bug #10281 - Trailing zeros were truncated from strings 2015-02-21 16:40:50 +01:00
Brian Coca
84e18b00d6 Merge pull request #10312 from drybjed/docs-filters
Reorganization of Jinja2 filter documentation
2015-02-21 09:49:30 -05:00
Maciej Delmanowski
c10f4c23dd Specify that 'ipaddr' is available in 1.9 2015-02-21 14:11:04 +01:00
Maciej Delmanowski
25ef581a90 Add basic examples of ipaddr filter use 2015-02-21 13:34:22 +01:00
Maciej Delmanowski
71dae62b2a Add IP address filter documentation 2015-02-21 13:21:07 +01:00
Maciej Delmanowski
c866a26d81 Move Jinja2 filters documentation to separate file 2015-02-21 13:01:22 +01:00
Brian Coca
1cb47c807e changed fetch test to match new functionality 2015-02-20 11:32:10 -05:00
Brian Coca
6b64fe8bdd Merge pull request #9936 from sysadmin75/9415_hostname_as_dir
Fixes #9415 - fetch: should use hostname instead of ip for directory name
2015-02-20 11:14:48 -05:00
Brian Coca
acbd096cf3 Merge pull request #10298 from bcoca/lookup_wantlist
Allow requesting a list to lookup plugins instead of , delimited string
2015-02-20 10:16:57 -05:00
Brian Coca
965680a18e documented cartesian lookup in 1.9 2015-02-20 09:06:17 -05:00
Brian Coca
5d946ec4f2 adds cartesian product lookup 2015-02-20 09:04:00 -05:00
Brian Coca
1d90ff8b34 Merge pull request #10304 from dago/ldom
Add LDom support
2015-02-20 08:09:58 -05:00
Dagobert Michelsen
c1dba60961 Use try block for field splitting 2015-02-20 13:57:02 +01:00
Dagobert Michelsen
90e760ba84 Add LDom support 2015-02-20 10:11:06 +01:00
Brian Coca
a66c559818 documented new wantlist feature 2015-02-19 18:29:29 -05:00
Brian Coca
57674fa047 Allow requesting a list to lookup plugins instead of , delimited string 2015-02-19 18:29:29 -05:00
Brian Coca
ee08448b2e now module_formatter handles new expanded return values from the module_docs (still does not thing with new return value docs) 2015-02-19 18:07:05 -05:00
Brian Coca
e842f8fab9 Merge pull request #10295 from bcoca/show_return_val_docs
ansible-doc now shows return value docs
2015-02-19 18:00:06 -05:00
Brian Coca
c587bf1488 fixed absolute_import to be on top as it requries 2015-02-19 16:45:34 -05:00
Brian Coca
c2023f6f59 Merge pull request #10285 from bcoca/math_filter_rearrange
rearranged math filters
2015-02-19 16:04:26 -05:00
Brian Coca
1e818f9c50 ansible-doc now shows return value docs 2015-02-19 13:18:05 -05:00
Brian Coca
8be8a7e2f5 Merge pull request #10277 from dago/solaris
Add Solaris zone support for inventory and connection

NOTE: the connection plugin will need some work for v2 (after 1.9 gets released)
2015-02-19 13:13:31 -05:00
Brian Coca
414737557e Merge pull request #10284 from mihirvj/devel-10221
Pulls machine id in ansible facts
2015-02-19 12:56:45 -05:00
Brian Coca
e6ac2fa593 Merge pull request #10292 from dago/solaris-mounts
Add support for mounts in Solaris facts
2015-02-19 12:46:37 -05:00
Dagobert Michelsen
b82a8576f1 Add support for mounts in Solaris facts 2015-02-19 15:38:20 +01:00
Brian Coca
c92c4e7376 readded absolute_import 2015-02-19 07:39:45 -05:00
Brian Coca
8872bba21f rearranged math filters 2015-02-18 20:03:05 -05:00
Mihir Joshi
58a5f8dfaf Pulls machine id in ansible facts
- Fix #10221
2015-02-18 17:10:36 -05:00
Brian Coca
94aca71546 Merge pull request #9475 from jhawkesworth/simple_timer_plugin
Add simple plugin that times ansible-playbook runs.
2015-02-18 15:43:06 -05:00
Brian Coca
a94d78181d Merge pull request #10280 from bcoca/jsonify_test_nospace
changed jsonify test to ignore whitespace
2015-02-18 13:08:14 -05:00
Brian Coca
2642738646 changed jsonify test to ignore whitespace 2015-02-18 12:09:22 -05:00
Toshio Kuratomi
77731440f3 Optimize the plugin loader.
We have been caching the paths to the plugins but before we would only
cache the specific plugin that we were looking for.  This meant that we
might search through all of the plugin directories before finding the
specific module we were interested in.  The next plugin we needed we
might again search through all the plugin directories before finding the
plugin we wanted.

This new code will cache all the potential plugins in each directory
searched.  For a play that only uses one plugin we'll only search
through directories until we encounter the directory that has the proper
plugin.  For a large playbook with many plugins used we'll search
through each directory at most once each.

From v1: 68e86de26f
         730c2ba403
2015-02-18 08:12:01 -08:00
Toshio Kuratomi
55e26db290 Support nested modules with ANSIBLE_LIBRARY env var
From v1: 4c2d06d2fe
2015-02-18 08:07:57 -08:00
Dagobert Michelsen
81f55ff8ff Adjust leftovers from chroot 2015-02-18 16:52:44 +01:00
Toshio Kuratomi
cf82e57379 Merge pull request #10275 from jensdepuydt/optimize-plugin-loader-10165
Optimize plugin loader update
2015-02-18 07:25:12 -08:00
jensdepuydt
730c2ba403 minor change to not search in non-existing paths 2015-02-18 12:07:35 +01:00
jensdepuydt
adc0e8be97 Merge branch 'optimize-plugin-loader-10165' of github.com:ansible/ansible into optimize-plugin-loader-10165 2015-02-18 12:04:54 +01:00
Toshio Kuratomi
9bb8e60ed1 Merge pull request #10269 from danrue/unarchive_creates_behavior
Make behavior consistent when using 'creates' option with modules
2015-02-17 23:04:26 -08:00
Toshio Kuratomi
f1f176d86b Merge pull request #10266 from sivel/rax-cbs-test-size-fix
rax_cbs: Remove explicit msg match for invalid size in integration tests
2015-02-17 17:05:13 -08:00
Brian Coca
fdb36b4ea6 Merge pull request #10270 from bcoca/make_clean_pyc
added cleaning pyc files
2015-02-17 17:15:42 -05:00