Lookups occur on the local computer, not on the remote computer.
They are executed with in the directory containing the role or play, as opposed to local tasks which are executed with the directory of the executed script.
You can pass wantlist=True to lookups to use in jinja2 template “for” loops.
Lookups are an advanced feature. You should have a good working knowledge of Ansible plays before incorporating them.
If you want to change selection, open document below and click on "Move attachment"
Lookups — Ansible Documentationol machine, and can include reading the filesystem as well as contacting external datastores and services. This data is then made available using the standard templating system in Ansible. Note <span>Lookups occur on the local computer, not on the remote computer. They are executed with in the directory containing the role or play, as opposed to local tasks which are executed with the directory of the executed script. You can pass wantlist=True to lookups to use in jinja2 template “for” loops. Lookups are an advanced feature. You should have a good working knowledge of Ansible plays before incorporating them. Warning Some lookups pass arguments to a shell. When using variables from a remote/untrusted source, use the |quote filter to ensure safe usage. Topics Lookups Lookups and loops Lookups Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details