mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Re-fixed an error from a merge conflict.
This commit is contained in:
@@ -1602,19 +1602,19 @@ class JobJobTasksList(BaseJobEventsList):
|
|||||||
task_data['host_count'] += 1
|
task_data['host_count'] += 1
|
||||||
task_data['reported_hosts'] += 1
|
task_data['reported_hosts'] += 1
|
||||||
task_data['failed_count'] += 1
|
task_data['failed_count'] += 1
|
||||||
elif child_event.event == 'runner_on_ok':
|
elif child_data['event'] == 'runner_on_ok':
|
||||||
task_data['host_count'] += 1
|
task_data['host_count'] += 1
|
||||||
task_data['reported_hosts'] += 1
|
task_data['reported_hosts'] += 1
|
||||||
if child_event.changed:
|
if child_data['changed']:
|
||||||
task_data['changed_count'] += 1
|
task_data['changed_count'] += 1
|
||||||
task_data['changed'] = True
|
task_data['changed'] = True
|
||||||
else:
|
else:
|
||||||
task_data['successful_count'] += 1
|
task_data['successful_count'] += 1
|
||||||
elif child_event.event == 'runner_on_skipped':
|
elif child_data['event'] == 'runner_on_skipped':
|
||||||
task_data['host_count'] += 1
|
task_data['host_count'] += 1
|
||||||
task_data['reported_hosts'] += 1
|
task_data['reported_hosts'] += 1
|
||||||
task_data['skipped_count'] += 1
|
task_data['skipped_count'] += 1
|
||||||
elif child_event.event == 'runner_on_error':
|
elif child_data['event'] == 'runner_on_error':
|
||||||
task_data['host_count'] += 1
|
task_data['host_count'] += 1
|
||||||
task_data['reported_hosts'] += 1
|
task_data['reported_hosts'] += 1
|
||||||
task_data['failed'] = True
|
task_data['failed'] = True
|
||||||
|
|||||||
Reference in New Issue
Block a user