mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Look for plugins in the playbook's basedir
This commit is contained in:
@@ -46,6 +46,9 @@ def call_callback_module(method_name, *args, **kwargs):
|
||||
if method is not None:
|
||||
method(*args, **kwargs)
|
||||
|
||||
def load_more_callbacks(dirname):
|
||||
callbacks.extend([c.CallbackModule() for c in utils.import_plugins(dirname).values()])
|
||||
|
||||
def vv(msg, host=None):
|
||||
return verbose(msg, host=host, caplevel=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user