mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
We specifically need to convert the ansible included file type
for include events
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user