Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ansible_runner/display_callback/callback/awx_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ def v2_runner_on_no_hosts(self, task):
# NOTE: Not used by Ansible 2.x.
event_data = dict(
task=task,
name=task.get_name(),
)
with self.capture_event_data('runner_on_no_hosts', **event_data):
super(CallbackModule, self).v2_runner_on_no_hosts(task)
Expand Down Expand Up @@ -804,7 +805,8 @@ def v2_runner_retry(self, result):
def v2_runner_on_start(self, host, task):
event_data = dict(
host=host.get_name(),
task=task
task=task,
name=task.get_name(),
)
self._host_start[host.get_name()] = current_time()
with self.capture_event_data('runner_on_start', **event_data):
Expand Down