Ansible lookup plugins

From Notes_Wiki

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