Thanks Brian, I'm aware of the current functionality in regards to the "_meta" object vs list/host. My question is simply if its possible to _not_ populate a full hostvars dict for every node in the inventory in situations where the majority of the nodes are filtered out using the '--limit'
Its not a huge problem for us to write some custom pre-generator that runs before ansible-playbook is invoked, but imho its definetely cleaner to avoid it. From the comments so far I'm guessing the functionality I'm after isn't present in Ansible right now. On Thursday, December 14, 2017 at 7:29:47 PM UTC+1, Brian Coca wrote: > > please read > https://github.com/ansible/ansible/issues/33840#issuecomment-351508201 > > or > http://docs.ansible.com/ansible/latest/dev_guide/developing_inventory.html#tuning-the-external-inventory-script > > > > -- > ---------- > Brian Coca > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e2a50cca-e195-4b0e-be50-24c6e75469f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.