Added the 'CALLBACK_NEEDS_WHITELIST' attribute.

Value set to 'True' in order to prevent writing to
our logging dir by other processes using ansible callback
handling routines.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I6e13a6b42ba97b5ce850bc8c37d112ada7c09cd2
This commit is contained in:
Jiri Podivin 2021-05-17 10:46:51 +02:00
parent 7f196ad2bd
commit 4fc2ef2b41
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class CallbackModule(CallbackBase):
CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'agregate'
CALLBACK_NAME = 'validation_json'
CALLBACK_NEEDS_WHITELIST = True
def __init__(self, display=None):
super(CallbackModule, self).__init__(display)