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/v2/ansible
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
..
compat typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 22:23:35 +00:00
config Add python3-compat boiler to all core files 2014-10-15 19:22:54 -04:00
errors Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
executor Making task includes dynamic and fixing many other bugs 2015-02-12 18:17:16 +00:00
inventory Fixing some v2 inventory bugs 2015-01-28 13:21:52 -06:00
module_utils First swing at making module_common.py more v2-ish 2015-02-10 12:36:23 -08:00
modules Update to fix logentries issues 2015-02-12 12:58:36 -08:00
new_inventory Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
parsing Making task includes dynamic and fixing many other bugs 2015-02-12 18:17:16 +00:00
playbook Making task includes dynamic and fixing many other bugs 2015-02-12 18:17:16 +00:00
plugins Optimize the plugin loader. 2015-02-18 08:12:01 -08:00
template remove broken nad commented unicode conversion -- in v2, this is done when the data first enters ansible. 2015-02-02 19:08:10 -08:00
utils Didn't port isbasestring/isunicodestring from kitchen so switch to isinstance 2015-02-12 13:55:27 -08:00
vars Fixing more v2 bugs 2015-01-29 16:44:01 -06:00
__init__.py Making task includes dynamic and fixing many other bugs 2015-02-12 18:17:16 +00:00
constants.py made env var also consistent 2015-01-29 13:32:00 -05:00