From 43fb6013466c44ed0ef3fe23aec7489db42e9f0f Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Wed, 20 Apr 2016 15:30:52 -0400 Subject: [PATCH] include ask_credential for launch endpoint --- awx/api/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index b95cd4c4c2..b984ba2a90 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -2109,7 +2109,8 @@ class JobLaunchSerializer(BaseSerializer): fields = ('can_start_without_user_input', 'passwords_needed_to_start', 'extra_vars', 'limit', 'job_tags', 'skip_tags', 'job_type', 'inventory', 'credential', 'ask_variables_on_launch', 'ask_tags_on_launch', - 'ask_job_type_on_launch', 'ask_inventory_on_launch', 'ask_limit_on_launch', + 'ask_job_type_on_launch', 'ask_limit_on_launch', + 'ask_inventory_on_launch', 'ask_credential_on_launch', 'survey_enabled', 'variables_needed_to_start', 'credential_needed_to_start', 'inventory_needed_to_start',) read_only_fields = ('ask_variables_on_launch', 'ask_limit_on_launch',