Hi,
I can imagine that, with more and more environments it can be tricky,
however it seems we can easily manage our development, staging and production environemnts, with Michael's latest advice.
Currently we have the following directory layout (roughly) and our inventory files looking like I wrote in my previous message:
.
├── inventory
│ ├── group_vars
│ │ ├── all.yml
│ │ ├── development.yml
│ │ ├── loadbalancers.yml
│ │ ├── production.yml
│ │ ├── staging.yml
│ │ └── webservers.yml
│ ├── development
│ ├── production
│ └── staging
├── roles
│ ├── loadbalancer
│ ├── webserver
├── loadbalancers.yml
├── site.yml
└── webservers.yml
... and I can say that it's working very well for us. ;)
According to your desire to find a way to get informed about loaded var files,
maybe worth to take a look around Ansible callbacks,
here is a nice post about it,
not sure if is there a callback for this, it's just an idea. ;)
--
Kalman