mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Scan job success notification could fail
We can't assume a project is part of a scan job template so here we'll short circuit that
This commit is contained in:
parent
b0de8038d0
commit
7e7a611366
@ -680,7 +680,7 @@ class Job(UnifiedJob, JobOptions):
|
||||
processed=h.processed,
|
||||
skipped=h.skipped)
|
||||
data.update(dict(inventory=self.inventory.name,
|
||||
project=self.project.name,
|
||||
project=self.project.name if self.project else None,
|
||||
playbook=self.playbook,
|
||||
credential=self.credential.name,
|
||||
limit=self.limit,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user