mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
make callbacks declare needing whitelisting
this will allow for custom or v1 callbacks locally loaded to automatically be triggered as they were in 1.x
This commit is contained in:
@@ -28,7 +28,8 @@ class CallbackModule(CallbackBase):
|
||||
"""
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'aggregate'
|
||||
CALLBACK_TYPE = 'context_demo'
|
||||
CALLBACK_NAME = 'context_demo'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def v2_on_any(self, *args, **kwargs):
|
||||
i = 0
|
||||
|
||||
Reference in New Issue
Block a user