template_create
Create a job template for automation workflows by specifying project, playbook, inventory, and repository.
Instructions
Create a new template (job template).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The ID of the project. | |
| name | Yes | Template name. | |
| playbook | Yes | Playbook filename to run. | |
| inventory_id | Yes | ID of the inventory to use. | |
| repository_id | Yes | ID of the repository containing the playbook. | |
| environment_id | No | ID of the environment (optional). | |
| description | No | Template description (optional). | |
| arguments | No | Extra CLI arguments as JSON array string (optional). | |
| allow_override_args_in_task | No | Allow overriding arguments per task. | |
| suppress_success_alerts | No | Suppress alerts on success. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |