Hi,

is it possible to split inventory in multiple files...

eg.
I have 3 projects on one virtual machine1, so I created group machine which 
consists of 3 subelements (projects), ProjectA, ProjectB and ProjectC

[Machine1]
ProjectA ansible_ssh_host=machine1_fqdn
ProjectB ansible_ssh_host=machine1_fqdn
ProjectC ansible_ssh_host=machine1_fqdn

So when I want to run some playbook I choose some (or all) of this projects.

But, my question is, is it possible to split ProjectA inventory file in 
multiple inventory files...
Somehow include in it every *.yml  file in some specific folder....

eg. 
ProjectA *inventory *consists of every *.yml file in ProjectA *folder*
So my hosts_vars would be:

ProjectA - file 
ProjectA - folder
ProjectB - file 
ProjectB - folder
ProjectC - file
ProjectC - folder


Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f1e0368e-2e62-4cf0-90b5-72da3575e812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to