add-external-server
Add an external server to the Ansible inventory by providing name, IP, server type, and optional SSH details.
Instructions
Add an external server to the Ansible inventory
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>",
"ip": "<ip>",
"type": "<type>"
},
"name": "add-external-server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Server name for inventory | |
| ip | Yes | IP address or hostname | |
| type | Yes | Server type | |
| sshPort | No | SSH port | |
| sshUser | No | SSH username | root |
| sshKey | No | Path to SSH key | |
| groups | No | Ansible groups to assign | |
| vars | No | Additional Ansible variables |