1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible
Toshio Kuratomi 68e86de26f 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.

This should alleviate #10165
2015-02-17 13:24:46 -08:00
..
cache Restore json import for redis as well. Switch preference to simplejson for speed 2014-12-23 13:14:14 -08:00
callback_plugins Remove runner_on_error callback that is never used. 2014-07-01 17:02:10 -04:00
inventory Merge pull request #9672 from quinot/topic/lineno-in-inventory-err 2015-01-29 12:36:30 -05:00
module_utils Merge pull request #10259 from sivel/rax-boot-vol-v2 2015-02-16 18:04:16 -05:00
modules Update core modules to fix new integration tests 2015-02-16 22:08:53 -08:00
playbook more resilient errors for bad host declarations in play 2015-02-03 10:26:48 -05:00
runner Merge pull request #10248 from hfinucane/gh-9888 2015-02-16 13:56:20 -05:00
utils Optimize the plugin loader. 2015-02-17 13:24:46 -08:00
__init__.py Bumping files for 1.9 2014-11-25 16:49:45 -06:00
callbacks.py ensure proper strings/unicodestrings for passwords 2015-02-12 17:44:08 -05:00
color.py fixed typos found by RETF rules in PY files 2014-05-03 18:40:05 +02:00
constants.py Merge pull request #4820 from mscherer/add_local_config 2015-02-11 14:44:07 -05:00
errors.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
module_common.py Workaround more python-2.6 shlex not being able to handle unicode strings 2014-10-08 14:30:36 -04:00