aap_create_host
Add a host to an Ansible Automation Platform inventory by specifying a hostname and inventory ID, with optional variables, description, and enabled state.
Instructions
Add a host to an AAP inventory.
Example: "Add host web01.example.com to the Production inventory"
Args: params (CreateHostInput): Host configuration.
Returns: str: JSON with created host id and name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |