mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
add support for callback_plugins/ relative to playbook
This commit is contained in:
parent
1fd863cf5d
commit
2a7f9df109
3 changed files with 9 additions and 2 deletions
|
@ -41,7 +41,11 @@ if constants.DEFAULT_LOG_PATH != '':
|
|||
user = getpass.getuser()
|
||||
logger = logging.getLogger("p=%s u=%s | " % (mypid, user))
|
||||
|
||||
callback_plugins = [x for x in utils.plugins.callback_loader.all()]
|
||||
callback_plugins = []
|
||||
|
||||
def load_callback_plugins():
|
||||
global callback_plugins
|
||||
callback_plugins = [x for x in utils.plugins.callback_loader.all()]
|
||||
|
||||
def get_cowsay_info():
|
||||
if constants.ANSIBLE_NOCOWS is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue