mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Expose play and task attributes on job event.
This commit is contained in:
parent
ec080313fc
commit
d387f013b7
@ -432,7 +432,7 @@ class JobEventSerializer(BaseSerializer):
|
||||
model = JobEvent
|
||||
fields = ('id', 'url', 'created', 'job', 'event', 'event_display',
|
||||
'event_data', 'failed', 'host', 'related', 'summary_fields',
|
||||
'parent')
|
||||
'parent', 'play', 'task')
|
||||
|
||||
def get_related(self, obj):
|
||||
res = super(JobEventSerializer, self).get_related(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user