create-playbook-flexible
Generate Ansible playbooks from YAML strings or structured data. Define hosts, tasks, and plays to automate infrastructure management.
Instructions
Create an Ansible playbook with flexible input (YAML string or structured data)
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": {
"name": "<name>",
"content": "<content>"
},
"name": "create-playbook-flexible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Playbook filename (with or without .yml extension) | |
| content | Yes | Playbook content - either YAML string or object | |
| directory | No | Directory to save playbook | playbooks |