inventory-parse
Parse Ansible inventories by merging group_vars and host_vars, supporting custom project roots, ansible.cfg, and inventory paths.
Instructions
Parse inventory via ansible-inventory, merging group_vars/host_vars.
Args: project_root: Project root folder (sets CWD and uses ansible.cfg if present) ansible_cfg_path: Explicit ansible.cfg path (overrides) inventory_paths: Optional list of inventory files/dirs (ini/yaml/no-ext supported) include_hostvars: Include merged hostvars in response deep: Placeholder for future source mapping; ignored for now
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | ||
| project_root | No | ||
| inventory_paths | No | ||
| ansible_cfg_path | No | ||
| include_hostvars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||