# lookup\_plugins config does not seem to work

**URL:** <https://forum.ansible.com/t/lookup-plugins-config-does-not-seem-to-work/18635>\
**Category:** Ansible Project\
**Created:** [June 29, 2015, 4:33pm UTC](https://forum.ansible.com/t/lookup-plugins-config-does-not-seem-to-work/18635 "2015-06-29T16:33:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [June 29, 2015, 4:33pm UTC](https://forum.ansible.com/t/lookup-plugins-config-does-not-seem-to-work/18635/1 "2015-06-29T16:33:00Z")

</div>

I have been using filter plugins with the ansible.cfg setting:

`  
filter\_plugins = plugins/filter\_plugins

`

This is and has been working great. But now when I add:

`  
lookup\_plugins = plugins/lookup\_plugins

`

No lookup plugins are not found. The best I can tell the lookup is by filename (unlike the filters).

Is this a new bug, or are lookups different from filters in some way?

---

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [June 30, 2015, 1:57am UTC](https://forum.ansible.com/t/lookup-plugins-config-does-not-seem-to-work/18635/2 "2015-06-30T01:57:00Z")

</div>

Sigh, user error. For reasons I will never know I named my plugin with the .yml extension instead of .py.

But, on the upside, I got to find out just how incredibly well the the Intellij debugger works with python.

For those interested:

1. Create a run configuration. In my case it was like:

script: /usr/local/bin/ansible-playbook

script params: -i inventory/aws/ops playbooks/provision/aws/prometheus.yml -u ubuntu  
working dir: /Users/bkaplan/si/ops/ansible

1. open the ansible file you want to debug in idea. You can do this however you want. I create use the Tools/Create Command Line Laucher menu to create an ‘idea’ script in /usr/local/bin. Then just use $ idea \<myfile.py\> to open the file in the running Intellij

2. Set the breakpoint in the opened file

3. Start the run configuration in debug mode. Idea will find all the other files in the stack as well.

If you never used idea’s debugger you will be blown away. Its by far the best debugger I have ever used in my 30 years of software development.

After having use ‘module.fail\_json’ for debugging these last weeks I will no longer dread debugging modules.
