inventory_create
Create a new inventory for a project, specifying host list, SSH key, type, and optional become key.
Instructions
Create a new inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The ID of the project. | |
| name | Yes | Inventory name. | |
| inventory | Yes | Inventory content (hosts list or path). | |
| ssh_key_id | Yes | ID of the SSH key to use. | |
| type | No | Inventory type (static, static-yaml, file). | static |
| become_key_id | No | ID of the become (sudo) key (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |