mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Change strings used for job events, do not use exception middleware that was masking error, do
not log callbacks for vars_files imports.
This commit is contained in:
@@ -175,12 +175,16 @@ class CallbackModule(object):
|
||||
self._log_event('playbook_on_setup')
|
||||
|
||||
def playbook_on_import_for_host(self, host, imported_file):
|
||||
self._log_event('playbook_on_import_for_host', host=host,
|
||||
imported_file=imported_file)
|
||||
# don't care about recording this one
|
||||
# self._log_event('playbook_on_import_for_host', host=host,
|
||||
# imported_file=imported_file)
|
||||
pass
|
||||
|
||||
def playbook_on_not_import_for_host(self, host, missing_file):
|
||||
self._log_event('playbook_on_not_import_for_host', host=host,
|
||||
missing_file=missing_file)
|
||||
# don't care about recording this one
|
||||
#self._log_event('playbook_on_not_import_for_host', host=host,
|
||||
# missing_file=missing_file)
|
||||
pass
|
||||
|
||||
def playbook_on_play_start(self, pattern):
|
||||
self._log_event('playbook_on_play_start', pattern=pattern)
|
||||
|
||||
Reference in New Issue
Block a user