From 6a9a8eacc27d484e76f1340d962b344fe401cb72 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Mon, 9 Jul 2018 08:37:47 -0400 Subject: [PATCH] ask user input if credential prompting enabled --- awx/main/models/jobs.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/awx/main/models/jobs.py b/awx/main/models/jobs.py index fdb350d9bb..f6867b39fe 100644 --- a/awx/main/models/jobs.py +++ b/awx/main/models/jobs.py @@ -343,11 +343,6 @@ class JobTemplate(UnifiedJobTemplate, JobOptions, SurveyJobTemplateMixin, Resour # not block a provisioning callback from creating/launching jobs. if callback_extra_vars is None: for ask_field_name in set(self.get_ask_mapping().values()): - if ask_field_name == 'ask_credential_on_launch': - # if ask_credential_on_launch is True, it just means it can - # optionally be specified at launch time, not that it's *required* - # to launch - continue if getattr(self, ask_field_name): prompting_needed = True break