No, as `--limit` does not affect hostvars[anyhost][itsvar], since you
need to run the play before you know what variables are consumed we
cannot preemptively avoid querying those.

You CAN return an empty `_meta` (disables --host calls) and then add a
vars plugin that queries that info, vars plugins are 'on demand',
instead of doing this all in inventory up front.



-- 
----------
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 [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/CACVha7c%2BtRu27vdKXBUjY-UZyPhP%2Bg_7O%2BpgXDTLtNT2J_iEcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to