mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
Add prompt for verbosity.
This commit is contained in:
@@ -52,6 +52,7 @@ def job_template_prompts(project, inventory, machine_credential):
|
||||
ask_inventory_on_launch=on_off,
|
||||
ask_limit_on_launch=on_off,
|
||||
ask_credential_on_launch=on_off,
|
||||
ask_verbosity_on_launch=on_off,
|
||||
)
|
||||
return rf
|
||||
|
||||
@@ -71,6 +72,7 @@ def job_template_prompts_null(project):
|
||||
ask_inventory_on_launch=True,
|
||||
ask_limit_on_launch=True,
|
||||
ask_credential_on_launch=True,
|
||||
ask_verbosity_on_launch=True,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -55,8 +55,8 @@ class TestJobRelaunchAccess:
|
||||
jt = JobTemplate.objects.create(
|
||||
name='test-job-template-prompts', credential=machine_credential, inventory=inventory,
|
||||
ask_tags_on_launch=True, ask_variables_on_launch=True, ask_skip_tags_on_launch=True,
|
||||
ask_limit_on_launch=True, ask_job_type_on_launch=True, ask_inventory_on_launch=True,
|
||||
ask_credential_on_launch=True)
|
||||
ask_limit_on_launch=True, ask_job_type_on_launch=True, ask_verbosity_on_launch=True,
|
||||
ask_inventory_on_launch=True, ask_credential_on_launch=True)
|
||||
new_cred = Credential.objects.create(
|
||||
name='new-cred',
|
||||
credential_type=credentialtype_ssh,
|
||||
|
||||
Reference in New Issue
Block a user