Hi folks,
Is there a way to organize the host_vars directory into
subdirectories ?
If not, where to ask for it ?
We have a large number of hosts (500+) and our usage actually
suffer from this flat organization.
I would suggest to treat any files from /hosts_vars/*/* to be
treated as they where sitting at the top level /host_vars/
So we could organize our hosts_vars by location/role (I'm *not*
referring to the group_vars... that we intensively use in
conjunction !) :
hosts_vars/
- boston
-- (list of baremetal in boston)
- newyork
-- (list of baremetal in newyork)
- clients
-- (list of clients's VM)
(... and so on)
If someone knows a hack or point me to the right direction to
adapt ansible to that, we will be glad to post a MR !
If this has already been discussed, please point me to the thread
so I can convince you from my user story to allow that :)
Regards,
Vincent