Difference between revisions of "Ansible lookup plugins"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb> =Ansible lookup plugins= Ansible has many lookup plugins. For existing installation they...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[System administration tools]] > [[Ansible|ansible]] > [[Ansible tips and tricks]] > [[Ansible lookup plugins]]
=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:
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:
Line 6: Line 5:
;with_items : [[Working with lists and dictionary variables in ansible]]
;with_items : [[Working with lists and dictionary variables in ansible]]
;with_nested : [[Nested looping in ansible (loop inside loop)]]
;with_nested : [[Nested looping in ansible (loop inside loop)]]
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[System administration tools]] > [[Ansible|ansible]] > [[Ansible tips and tricks]] > [[Ansible lookup plugins]]

Latest revision as of 11:52, 28 July 2022

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