Ansible 2 lookup plugin not found

758 views
Skip to first unread message

Jeremy

unread,
Feb 4, 2016, 10:36:29 AM2/4/16
to Ansible Project
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.

Jeremy

unread,
Feb 4, 2016, 10:45:35 AM2/4/16
to Ansible Project
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.
Reply all
Reply to author
Forward
0 new messages