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