mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 06:31:23 -07:00
Look for plugins in the playbook's basedir
This commit is contained in:
parent
036f853d42
commit
1aaf86069a
4 changed files with 17 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue