# Ansible 2 lookup plugin not found

**URL:** <https://forum.ansible.com/t/ansible-2-lookup-plugin-not-found/20451>\
**Category:** Ansible Project\
**Created:** [February 4, 2016, 3:36pm UTC](https://forum.ansible.com/t/ansible-2-lookup-plugin-not-found/20451 "2016-02-04T15:36:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.ansible.com/u/Jeremy)\
**Post date:** [February 4, 2016, 3:36pm UTC](https://forum.ansible.com/t/ansible-2-lookup-plugin-not-found/20451/1 "2016-02-04T15:36:29Z")

</div>

I am trying to convert from ansible 1.9 to 2.0 and am getting a lookup plugin not found error. I have all of my lookup plugins in a folder named lookup\_plugins in the root of my project. This worked in 1.x, but not anymore. I tried setting the lookup\_plugins option in ansible.cfg, but that didn’t fix the error. How do I get ansible 2.x to find my lookup plugins?

I also saw a number of comments regarding v1 plugins not working with v2 and that they needed rewritten. Does anyone have a link to what needs to change in order to update a v1 plugin? Thanks.

---

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.ansible.com/u/Jeremy)\
**Post date:** [February 4, 2016, 3:45pm UTC](https://forum.ansible.com/t/ansible-2-lookup-plugin-not-found/20451/2 "2016-02-04T15:45:35Z")

</div>

My bad. I needed to set lookup\_plugins in ansible.cfg to ./lookup\_plugins for it to find them correctly.

I would still like to know if someone has any docs on upgrading a v1 plugin to v2 though. Thanks.
