inventory-diff
Identifies differences between two Ansible inventories: added/removed hosts, groups, group membership changes, and optional hostvars key changes.
Instructions
Diff two inventories: hosts, groups, and optionally hostvars keys.
Returns:
added_hosts, removed_hosts
added_groups, removed_groups, group_membership_changes
hostvars_key_changes (if include_hostvars)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_hostvars | No | ||
| left_project_root | No | ||
| right_project_root | No | ||
| left_inventory_paths | No | ||
| left_ansible_cfg_path | No | ||
| right_inventory_paths | No | ||
| right_ansible_cfg_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||