lookups always run on the machine that executes the ansible-playbook program (master), not sure what you mean by host or target.
The only way to run something other than on the master is through a task. A lookup can query an API or some other remote resource (uri lookup) but it runs on the master and the master must have access to that remote resource. -- 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/CAJ5XC8ngpMxX-9uVP_2wofwx8eF8UmpSUXXegpO5PoozsG69ow%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
