mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 11:40:05 -03:30
correctly inherit extra_vars
* inherit extra_vars from job_template * overwrite with extra vars survey default vars * overwrite with job extra_vars * bypass extra_vars inherit logic for job relaunch * with tests
This commit is contained in:
@@ -2207,6 +2207,7 @@ class JobRelaunch(RetrieveAPIView, GenericAPIView):
|
||||
if not serializer.is_valid():
|
||||
return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
|
||||
|
||||
obj.launch_type = 'relaunch'
|
||||
new_job = obj.copy()
|
||||
result = new_job.signal_start(**request.DATA)
|
||||
if not result:
|
||||
|
||||
Reference in New Issue
Block a user