From 8718688cf828882f70ebff28150967e1a5f06d86 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 25 Nov 2014 16:47:53 -0500 Subject: [PATCH] Make sure we pass extra parameters down to the unified job create method so we can pick up credential if given --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index 196a2807ba..9247cfb149 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -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)