mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
Make sure we include the state flags for the plays as well as the counts
This commit is contained in:
@@ -1506,10 +1506,10 @@ class JobJobPlaysList(BaseJobEventsList):
|
|||||||
ok_count = change_aggregate['id__count']
|
ok_count = change_aggregate['id__count']
|
||||||
else:
|
else:
|
||||||
changed_count = change_aggregate['id__count']
|
changed_count = change_aggregate['id__count']
|
||||||
play_details['ok'] = ok_count
|
play_details['ok_count'] = ok_count
|
||||||
play_details['failed'] = failed_count
|
play_details['failed_count'] = failed_count
|
||||||
play_details['changed'] = changed_count
|
play_details['changed_count'] = changed_count
|
||||||
play_details['skipped'] = skipped_count
|
play_details['skipped_count'] = skipped_count
|
||||||
all_plays.append(play_details)
|
all_plays.append(play_details)
|
||||||
return Response(all_plays)
|
return Response(all_plays)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user