Ansible lookup plugins

From Notes_Wiki
Revision as of 11:52, 28 July 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible tips and tricks > Ansible lookup plugins

Ansible has many lookup plugins. For existing installation they can be found at /usr/lib/python2.6/site-packages/ansible/runner/lookup_plugins/ or alternatively 'locate fileglob.py' can be used to locate the lookup_plugin directory. Some important plugins are:

with_items
Working with lists and dictionary variables in ansible
with_nested
Nested looping in ansible (loop inside loop)



Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible tips and tricks > Ansible lookup plugins