generate_awx_job_template_from_cookbook
Convert Chef cookbooks into AWX/Ansible Automation Platform job templates for automated infrastructure deployment and configuration management.
Instructions
Generate AWX/AAP job template configuration from Chef cookbook.
Args: cookbook_path: Path to Chef cookbook directory cookbook_name: Name of the cookbook for job template target_environment: Target environment for the job template include_survey: Whether to include survey spec for cookbook attributes
Returns: AWX/AAP job template JSON configuration
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cookbook_path": "<cookbook_path>",
"cookbook_name": "<cookbook_name>"
},
"name": "generate_awx_job_template_from_cookbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookbook_path | Yes | ||
| cookbook_name | Yes | ||
| target_environment | No | production | |
| include_survey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |