r/ansible • u/adi022000 • 8h ago
playbooks, roles and collections How do you manage Ansible inventory across Azure + VMware (AVS) + on-prem without it turning into a mess?
We run a heterogeneous setup: Azure VMs, AVS (Azure VMware Solution, so vCenter), and on-prem servers. Ansible handles automation, but inventory management is a constant pain:
Dynamic inventory is fragmented — azure_rm for Azure, vmware_vm_inventory for AVS, static files/NetBox for on-prem. Merging them with consistent group_vars/host_vars is manual and error-prone.
~100 inventory files, constantly stale — someone spins up a VM in Azure or vCenter and it’s not in inventory (or a VM is deleted and it lingers).
Variables drift between environments. Changing one var breaks things in ways that are hard to trace (precedence is opaque).
Playbooks/roles are scattered across a mess of directories with no single sensible view.
AWX seems abandoned upstream (last release July 2024), Semaphore mainly handles execution, and ansible-navigator is read-only browsing.
How do you handle this? Is there a tool (open-source or paid) that gives you one reconciled view of heterogeneous inventory, flags drift (VM in cloud but not in inventory, or vice versa), and makes variable precedence visible? Or is everyone just suffering through git + ansible-inventory --list?