Red Hat · Schema
JobTemplate
A job template defines the parameters for running an Ansible playbook against an inventory of managed hosts.
CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | The unique identifier of the job template. |
| name | string | The name of the job template. |
| description | string | A description of the job template. |
| job_type | string | The type of job to execute. |
| inventory | integer | The ID of the inventory to run against. |
| project | integer | The ID of the project containing the playbook. |
| playbook | string | The playbook filename to execute from the project. |
| forks | integer | The number of parallel processes to use for execution. |
| limit | string | A host pattern to further limit the inventory scope. |
| verbosity | integer | The verbosity level for job output (0-5). |
| extra_vars | string | Extra variables in YAML or JSON format. |
| ask_variables_on_launch | boolean | Whether to prompt for extra variables on launch. |
| ask_inventory_on_launch | boolean | Whether to prompt for inventory on launch. |
| ask_credential_on_launch | boolean | Whether to prompt for credentials on launch. |
| survey_enabled | boolean | Whether the survey is enabled for this template. |
| created | string | The date and time the template was created. |
| modified | string | The date and time the template was last modified. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JobTemplate",
"type": "object",
"description": "A job template defines the parameters for running an Ansible playbook against an inventory of managed hosts.",
"properties": {
"id": {
"type": "integer",
"description": "The unique identifier of the job template."
},
"name": {
"type": "string",
"description": "The name of the job template."
},
"description": {
"type": "string",
"description": "A description of the job template."
},
"job_type": {
"type": "string",
"description": "The type of job to execute."
},
"inventory": {
"type": "integer",
"description": "The ID of the inventory to run against."
},
"project": {
"type": "integer",
"description": "The ID of the project containing the playbook."
},
"playbook": {
"type": "string",
"description": "The playbook filename to execute from the project."
},
"forks": {
"type": "integer",
"description": "The number of parallel processes to use for execution."
},
"limit": {
"type": "string",
"description": "A host pattern to further limit the inventory scope."
},
"verbosity": {
"type": "integer",
"description": "The verbosity level for job output (0-5)."
},
"extra_vars": {
"type": "string",
"description": "Extra variables in YAML or JSON format."
},
"ask_variables_on_launch": {
"type": "boolean",
"description": "Whether to prompt for extra variables on launch."
},
"ask_inventory_on_launch": {
"type": "boolean",
"description": "Whether to prompt for inventory on launch."
},
"ask_credential_on_launch": {
"type": "boolean",
"description": "Whether to prompt for credentials on launch."
},
"survey_enabled": {
"type": "boolean",
"description": "Whether the survey is enabled for this template."
},
"created": {
"type": "string",
"description": "The date and time the template was created."
},
"modified": {
"type": "string",
"description": "The date and time the template was last modified."
}
}
}