mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
fixed condition for loading whitelisted callbacks
This commit is contained in:
parent
dc83c0e3f3
commit
7416e00541
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class TaskQueueManager:
|
||||||
if callback_name != stdout_callback or stdout_callback_loaded:
|
if callback_name != stdout_callback or stdout_callback_loaded:
|
||||||
continue
|
continue
|
||||||
stdout_callback_loaded = True
|
stdout_callback_loaded = True
|
||||||
elif C.DEFAULT_CALLBACK_WHITELIST is not None and callback_name not in C.DEFAULT_CALLBACK_WHITELIST:
|
elif C.DEFAULT_CALLBACK_WHITELIST is None or callback_name not in C.DEFAULT_CALLBACK_WHITELIST:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
loaded_plugins.append(callback_plugin(self._display))
|
loaded_plugins.append(callback_plugin(self._display))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue