Query modules enable access to information in Ansible from outside sources. These modules are assessed on the Ansible control machine and can incorporate perusing the filesystem yet in addition reaching outside information stores and administrations.
Organization is {lookup{‘<plugin>’,'<source(or)connection_string>’}}
A portion of the query modules upheld by ansible are
Document
pipe
redis
jinja layouts
etcd kv store