mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
AC-504 Migration to add roles to existing job events.
This commit is contained in:
@@ -525,6 +525,8 @@ class JobEvent(CreatedModifiedModel):
|
||||
msg = "%s (%s)" % (msg, self.play)
|
||||
elif self.event == 'playbook_on_task_start':
|
||||
if self.task:
|
||||
if self.event_data.get('is_conditional', False):
|
||||
msg = 'Handler Notified'
|
||||
if self.role:
|
||||
msg = '%s (%s | %s)' % (msg, self.role, self.task)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user