mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
add support for callback_plugins/ relative to playbook
This commit is contained in:
@@ -28,7 +28,8 @@ PLUGIN_PATH_CACHE = {}
|
||||
_basedirs = []
|
||||
|
||||
def push_basedir(basedir):
|
||||
_basedirs.insert(0, basedir)
|
||||
if basedir not in _basedirs:
|
||||
_basedirs.insert(0, basedir)
|
||||
|
||||
class PluginLoader(object):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user