mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
Make sure we pass extra parameters down to the unified job create method
so we can pick up credential if given
This commit is contained in:
parent
08ea3bef25
commit
8718688cf8
@ -1499,7 +1499,7 @@ class JobTemplateLaunch(GenericAPIView):
|
||||
if validation_errors:
|
||||
return Response(dict(errors=validation_errors),
|
||||
status=status.HTTP_400_BAD_REQUEST)
|
||||
new_job = obj.create_unified_job()
|
||||
new_job = obj.create_unified_job(**request.DATA)
|
||||
result = new_job.signal_start(**request.DATA)
|
||||
if not result:
|
||||
data = dict(passwords_needed_to_start=obj.passwords_needed_to_start)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user