inventory_host_management
Manage Ansible inventories, hosts, groups, and sources with actions like create, update, delete, sync, and bulk operations.
Instructions
Enhanced inventory and host management tool. Handles inventories, hosts, groups, sources, and bulk operations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: list, create, update, delete, copy, sync, add_host, remove_host, list_hosts, update_host, get_host_facts, list_groups, create_group, update_group, delete_group, add_host_to_group, remove_host_from_group, list_sources, create_source, update_source, sync_source, variable_data, tree, script | |
| inventory_id | No | Inventory ID | |
| host_id | No | Host ID | |
| group_id | No | Group ID | |
| source_id | No | Inventory source ID | |
| inventory_data | No | Inventory data | |
| host_data | No | Host data | |
| group_data | No | Group data | |
| source_data | No | Inventory source data | |
| copy_data | No | Copy operation data | |
| filters | No | Filters for listing |