generate-inventory-playbook
Generate an Ansible playbook to collect hardware, network, or system facts from target hosts, with optional file output.
Instructions
Generate a playbook for gathering inventory information
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>"
},
"name": "generate-inventory-playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Playbook name | |
| targetHosts | No | Target hosts/groups | all |
| gatherFacts | No | Specific facts to gather | |
| outputFile | No | Save facts to file |