Lookup plugins #
- Directory:
./lookup_plugins
- Documentation: https://docs.ansible.com/ansible/latest/plugins/lookup.html
Lookup plugins are a more advanced feature with some limitations, but they are a good tool to have in your toolbox when the situation calls for it.
- Lookups are executed on the Ansible controller, not the remote host
- Lookup plugins are intended to take a single required positional argument, and any number of optional named arguments.
TODO
confirm that lookup plugins can’t define multiple required arguments? docs are not comprehensive.