mirror of
https://github.com/ansible/awx.git
synced 2026-06-26 17:08:03 -02:30
add credential to job ask_ properties
This commit is contained in:
@@ -547,6 +547,12 @@ class Job(UnifiedJob, JobOptions):
|
||||
return self.job_template.ask_inventory_on_launch
|
||||
return False
|
||||
|
||||
@property
|
||||
def ask_credential_on_launch(self):
|
||||
if self.job_template is not None:
|
||||
return self.job_template.ask_credential_on_launch
|
||||
return False
|
||||
|
||||
def get_passwords_needed_to_start(self):
|
||||
return self.passwords_needed_to_start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user