mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07:00
Allow callback plugins to be whitelisted
This commit is contained in:
parent
e1991d9e32
commit
21c14363fd
2 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,8 @@ class TaskQueueManager:
|
|||
if callback_name != stdout_callback or stdout_callback_loaded:
|
||||
continue
|
||||
stdout_callback_loaded = True
|
||||
elif C.DEFAULT_CALLBACK_WHITELIST is not None and callback_name not in C.DEFAULT_CALLBACK_WHITELIST:
|
||||
continue
|
||||
|
||||
loaded_plugins.append(callback_plugin(self._display))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue