mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 13:27:40 -02:30
Project updates do not run against hosts
* The project update event has no host_id or host_name because they only run on localhost.
This commit is contained in:
committed by
Seth Foster
parent
527755d986
commit
2fa5116197
@@ -124,8 +124,6 @@ class BasePlaybookEvent(CreatedModifiedModel):
|
|||||||
'parent_uuid',
|
'parent_uuid',
|
||||||
'start_line',
|
'start_line',
|
||||||
'end_line',
|
'end_line',
|
||||||
'host_id',
|
|
||||||
'host_name',
|
|
||||||
'verbosity',
|
'verbosity',
|
||||||
]
|
]
|
||||||
WRAPUP_EVENT = 'playbook_on_stats'
|
WRAPUP_EVENT = 'playbook_on_stats'
|
||||||
@@ -473,7 +471,7 @@ class JobEvent(BasePlaybookEvent):
|
|||||||
An event/message logged from the callback when running a job.
|
An event/message logged from the callback when running a job.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
VALID_KEYS = BasePlaybookEvent.VALID_KEYS + ['job_id', 'workflow_job_id', 'job_created']
|
VALID_KEYS = BasePlaybookEvent.VALID_KEYS + ['job_id', 'workflow_job_id', 'job_created', 'host_id', 'host_name']
|
||||||
JOB_REFERENCE = 'job_id'
|
JOB_REFERENCE = 'job_id'
|
||||||
|
|
||||||
objects = DeferJobCreatedManager()
|
objects = DeferJobCreatedManager()
|
||||||
|
|||||||
Reference in New Issue
Block a user