Launch a Job Template
get
/api/v2/job_templates/{id}/launch/
Make a GET request to this resource to determine if the job_template can be launched and whether any passwords are required to launch the job_template. The response will include the following fields:
ask_variables_on_launch: Flag indicating whether the job_template is configured to prompt for variables upon launch (boolean, read-only)ask_tags_on_launch: Flag indicating whether the job_template is configured to prompt for tags upon launch (boolean, read-only)ask_skip_tags_on_launch: Flag indicating whether the job_template is configured to prompt for skip_tags upon launch (boolean, read-only)ask_job_type_on_launch: Flag indicating whether the job_template is configured to prompt for job_type upon launch (boolean, read-only)ask_limit_on_launch: Flag indicating whether the job_template is configured to prompt for limit upon launch (boolean, read-only)ask_inventory_on_launch: Flag indicating whether the job_template is configured to prompt for inventory upon launch (boolean, read-only)ask_credential_on_launch: Flag indicating whether the job_template is configured to prompt for credential upon launch (boolean, read-only)can_start_without_user_input: Flag indicating if the job_template can be launched without user-input (boolean, read-only)passwords_needed_to_start: Password names required to launch the job_template (array, read-only)variables_needed_to_start: Required variable names required to launch the job_template (array, read-only)survey_enabled: Flag indicating whether the job_template has an enabled survey (boolean, read-only)inventory_needed_to_start: Flag indicating the presence of an inventory associated with the job template. If not then one should be supplied when launching the job (boolean, read-only)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : JobLaunch
Type:
Show Source
object-
ask_credential_on_launch:
boolean
Title:
Ask credential on launchRead Only:true -
ask_diff_mode_on_launch:
boolean
Title:
Ask diff mode on launchRead Only:true -
ask_execution_environment_on_launch:
boolean
Title:
Ask execution environment on launchRead Only:true -
ask_forks_on_launch:
boolean
Title:
Ask forks on launchRead Only:true -
ask_instance_groups_on_launch:
boolean
Title:
Ask instance groups on launchRead Only:true -
ask_inventory_on_launch:
boolean
Title:
Ask inventory on launchRead Only:true -
ask_job_slice_count_on_launch:
boolean
Title:
Ask job slice count on launchRead Only:true -
ask_job_type_on_launch:
boolean
Title:
Ask job type on launchRead Only:true -
ask_labels_on_launch:
boolean
Title:
Ask labels on launchRead Only:true -
ask_limit_on_launch:
boolean
Title:
Ask limit on launchRead Only:true -
ask_scm_branch_on_launch:
boolean
Title:
Ask scm branch on launchRead Only:true -
ask_skip_tags_on_launch:
boolean
Title:
Ask skip tags on launchRead Only:true -
ask_tags_on_launch:
boolean
Title:
Ask tags on launchRead Only:true -
ask_timeout_on_launch:
boolean
Title:
Ask timeout on launchRead Only:true -
ask_variables_on_launch:
boolean
Title:
Ask variables on launchRead Only:true -
ask_verbosity_on_launch:
boolean
Title:
Ask verbosity on launchRead Only:true -
can_start_without_user_input:
boolean
Title:
Can start without user inputRead Only:true -
credential_needed_to_start:
string
Title:
Credential needed to startRead Only:true -
credential_passwords:
string
Title:
Credential passwords -
credentials:
array credentials
Unique Items Required:
true -
defaults:
string
Title:
DefaultsRead Only:true -
diff_mode:
boolean
Title:
Diff mode -
execution_environment:
integer
Title:
Execution environment -
extra_vars:
object Extra vars
Title:
Extra vars -
forks:
integer
Title:
ForksMinimum Value:0 -
instance_groups:
array instance_groups
Unique Items Required:
true -
inventory:
integer
Title:
Inventory -
inventory_needed_to_start:
string
Title:
Inventory needed to startRead Only:true -
job_slice_count:
integer
Title:
Job slice countMinimum Value:0 -
job_tags:
string
Title:
Job tags -
job_template_data:
string
Title:
Job template dataRead Only:true -
job_type:
string
Title:
Job typeAllowed Values:[ "run", "check" ] -
labels:
array labels
Unique Items Required:
true -
limit:
string
Title:
Limit -
passwords_needed_to_start:
string
Title:
Passwords needed to startRead Only:true -
scm_branch:
string
Title:
Scm branch -
skip_tags:
string
Title:
Skip tags -
survey_enabled:
string
Title:
Survey enabledRead Only:true -
timeout:
integer
Title:
Timeout -
variables_needed_to_start:
string
Title:
Variables needed to startRead Only:true -
verbosity:
integer
Title:
VerbosityAllowed Values:[ "0", "1", "2", "3", "4", "5" ]
Nested Schema : Extra vars
Type:
objectTitle:
Extra vars