lookup plugins directory in Ansible

0 votes
I have installed Ansible and been working on it for a few days now. I'm trying to use the lookup_plugins but I can't find the file. Where can I find it?
Jan 28, 2019 in Ansible by Ruth

1 answer to this question.

0 votes

Hey @Ruth, check one of these places:

  • check around your playbook file
  • inside any role that is applied in the playbook
  • configured lookup plugins directories

default location: ~/.ansible/plugins/lookup:/usr/share/ansible/plugins/lookup

can be overwritten with lookup_plugins configuration option or

with ANSIBLE_LOOKUP_PLUGINS environment variable

  • ansible/plugins/lookup directory inside current ansible python package
answered Jan 28, 2019 by Kavya

Related Questions In Ansible

0 votes
2 answers

How do you stop Ansible from creating .retry files in the home directory?

[defaults] ... retry_files_enabled = True # Create them ...READ MORE

answered Apr 5, 2019 in Ansible by anonymous
0 votes
2 answers

How to create a directory in remote nodes using Ansible-Playbook?

You can read install and setup apache ...READ MORE

answered Aug 23, 2020 in Ansible by anonymous
• 160 points
0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 7,320 points
0 votes
1 answer

When conditional not working in Ansible

Your identation is wrong and when is ...READ MORE

answered Apr 27, 2018 in Ansible by ajs3033
• 7,280 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Add a node in Ansible

Follow these steps @Ruth: Generate ssh key ssh-keygen Check the ...READ MORE

answered Jan 8, 2019 in Ansible by Haider