generate_playbook_from_recipe
Convert Chef recipes to Ansible playbooks for infrastructure migration. Processes Ruby recipe files into complete YAML playbooks with tasks, handlers, and variables.
Instructions
Generate a complete Ansible playbook from a Chef recipe.
Args: recipe_path: Path to the Chef recipe (.rb) file.
Returns: Complete Ansible playbook in YAML format with tasks, handlers, and variables.
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": {
"recipe_path": "<recipe_path>"
},
"name": "generate_playbook_from_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |