mirror of
https://github.com/ansible/awx.git
synced 2026-01-25 00:11:23 -03:30
Denote whether a credential is required on the launch endpoint if it was
not provided on the job template
This commit is contained in:
parent
8fb6e50e70
commit
2258425710
@ -1465,6 +1465,7 @@ class JobTemplateLaunch(GenericAPIView):
|
||||
data['passwords_needed_to_start'] = obj.passwords_needed_to_start
|
||||
data['ask_variables_on_launch'] = obj.ask_variables_on_launch
|
||||
data['variables_needed_to_start'] = obj.variables_needed_to_start
|
||||
data['credential_required'] = obj.credential is None
|
||||
data['survey_enabled'] = obj.survey_enabled
|
||||
return Response(data)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user