mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
77731440f3
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: |
||
---|---|---|
.. | ||
compat | ||
config | ||
errors | ||
executor | ||
inventory | ||
module_utils | ||
modules | ||
new_inventory | ||
parsing | ||
playbook | ||
plugins | ||
template | ||
utils | ||
vars | ||
__init__.py | ||
constants.py |