Host Management
tm_hostsList, add, or remove SSH host aliases in the local inventory with support for credentials, ports, and proxy commands.
Instructions
Manage the local host alias inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | SSH port. | |
| user | No | Username. | |
| alias | No | Host alias. | |
| action | Yes | Action: 'list', 'add', 'remove' | |
| hostname | No | Real hostname or IP. | |
| password | No | Password (if no key). | |
| identity_file | No | Path to private key. | |
| proxy_command | No | Proxy command. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||