add counter to jobevent object sourced from callback ansible plugin

This commit is contained in:
Matthew Jones
2014-08-19 15:49:52 -04:00
parent 186ab7814f
commit 046561ecaa
5 changed files with 452 additions and 2 deletions

View File

@@ -1341,7 +1341,7 @@ class JobEventSerializer(BaseSerializer):
class Meta:
model = JobEvent
fields = ('*', '-name', '-description', 'job', 'event',
fields = ('*', '-name', '-description', 'job', 'event', 'counter',
'event_display', 'event_data', 'event_level', 'failed',
'changed', 'host', 'host_name', 'parent', 'play', 'task', 'role')