create-playbook
Generate a new Ansible playbook with custom tasks, variables, and target hosts for automated infrastructure management.
Instructions
Create a new Ansible playbook file
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>",
"tasks": "<tasks>"
},
"name": "create-playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Playbook name | |
| hosts | No | Target hosts | all |
| tasks | Yes | List of tasks | |
| vars | No | Playbook variables | |
| become | No | Use sudo for all tasks |