generate_inventory_from_chef_environments
Creates Ansible inventory files by converting Chef environment configurations into structured host groups for infrastructure migration.
Instructions
Generate complete Ansible inventory from Chef environments directory.
Args: environments_directory: Path to Chef environments directory output_format: Output format ("yaml", "ini", or "both")
Returns: Complete Ansible inventory structure with environment-based groups
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": {
"environments_directory": "<environments_directory>"
},
"name": "generate_inventory_from_chef_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environments_directory | Yes | ||
| output_format | No | yaml |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |