mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
In case job_template is null handle that case for vars prompt
This commit is contained in:
parent
22984f91cc
commit
a19f388e2d
@ -232,7 +232,9 @@ class Job(UnifiedJob, JobOptions):
|
||||
|
||||
@property
|
||||
def vars_prompt_on_launch(self):
|
||||
return self.job_template.vars_prompt_on_launch
|
||||
if self.job_template is not None:
|
||||
return self.job_template.vars_prompt_on_launch
|
||||
return None
|
||||
|
||||
@property
|
||||
def passwords_needed_to_start(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user