mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
Added changed flag to job events, added launch_type to jobs.
This commit is contained in:
@@ -1087,7 +1087,7 @@ class JobTemplateCallback(generics.RetrieveAPIView):
|
||||
# FIXME: Find host from request.
|
||||
limit = obj.limit
|
||||
# FIXME: Update limit based on host.
|
||||
job = obj.create_job(limit=limit)
|
||||
job = obj.create_job(limit=limit, launch_type='callback')
|
||||
result = job.start()
|
||||
if not result:
|
||||
data = dict(passwords_needed_to_start=job.get_passwords_needed_to_start())
|
||||
|
||||
Reference in New Issue
Block a user