mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
We specifically need to convert the ansible included file type
for include events
This commit is contained in:
parent
b56db8bc40
commit
2621f48189
@ -182,7 +182,7 @@ class BaseCallbackModule(CallbackBase):
|
||||
|
||||
def v2_playbook_on_include(self, included_file):
|
||||
event_data = dict(
|
||||
included_file=included_file,
|
||||
included_file=included_file._filename if included_file is not None else None,
|
||||
)
|
||||
with self.capture_event_data('playbook_on_include', **event_data):
|
||||
super(BaseCallbackModule, self).v2_playbook_on_include(included_file)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user