mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Revert "make callbacks declare needing whitelisting"
another premature merge
This reverts commit df8ff85787.
This commit is contained in:
@@ -28,8 +28,7 @@ class CallbackModule(CallbackBase):
|
||||
"""
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'aggregate'
|
||||
CALLBACK_NAME = 'context_demo'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
CALLBACK_TYPE = 'context_demo'
|
||||
|
||||
def v2_on_any(self, *args, **kwargs):
|
||||
i = 0
|
||||
|
||||
@@ -46,9 +46,8 @@ class CallbackModule(CallbackBase):
|
||||
|
||||
"""
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'notification'
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_NAME = 'hipchat'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'notification'
|
||||
CALLBACK_NAME = 'log_plays'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
TIME_FORMAT="%b %d %Y %H:%M:%S"
|
||||
MSG_FORMAT="%(now)s - %(category)s - %(data)s\n\n"
|
||||
|
||||
@@ -74,7 +74,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'notification'
|
||||
CALLBACK_NAME = 'mail'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def v2_runner_on_failed(self, res, ignore_errors=False):
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'notification'
|
||||
CALLBACK_NAME = 'osx_say'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
|
||||
|
||||
@@ -69,7 +69,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'aggregate'
|
||||
CALLBACK_NAME = 'profile_tasks'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
self.stats = {}
|
||||
|
||||
@@ -26,7 +26,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'aggregate'
|
||||
CALLBACK_NAME = 'syslog_json'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'aggregate'
|
||||
CALLBACK_NAME = 'timer'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'aggregate'
|
||||
CALLBACK_NAME = 'tree'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
super(CallbackModule, self).__init__(display)
|
||||
|
||||
Reference in New Issue
Block a user