Hey, I don't get how dynamic inventory is actually working. Or in my case, why it's working.
So I've tried setting up the vmware_vm_inventory plugin. I've put a vcenter.yml into /etc/ansible and "ansible-inventory -i /etc/ansible/ --list" is indeed giving me a list of all statically defined hosts plus those from vcenter. 1) vcenter.yml is not ending with "vmware.yml" or "vmware.yaml" as the plugin claims it would need. However the command above still works. 2) There is nothing executable inside /etc/ansible which apparently is needed to use dynamic inventory. 3) When I use "ansible-inventory --list" (without -i) it's only giving me the statically defined hosts. I'd like to understand how this is all tied together. The documentation was not satisfactory on that point. Is this set up correctly? Thanks Marki -- 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/b6af9b56-c07c-4f7a-bd79-a668983b23be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
