# Getting vars\_plugins to work.

**URL:** <https://forum.ansible.com/t/getting-vars-plugins-to-work/24292>\
**Category:** Ansible Project\
**Created:** [April 24, 2017, 7:14am UTC](https://forum.ansible.com/t/getting-vars-plugins-to-work/24292 "2017-04-24T07:14:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josef\_Karthauser](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Josef\_Karthauser](https://forum.ansible.com/u/Josef_Karthauser)\
**Post date:** [April 24, 2017, 7:14am UTC](https://forum.ansible.com/t/getting-vars-plugins-to-work/24292/1 "2017-04-24T07:14:57Z")

</div>

Hey folks,

Can someone please help me with a vars\_plugins/ issue? I can’t get them to work!

I’m not convinced that they work at all (under 2.3 and above).

For example if I intentionally put a syntax error in **lib/ansible/inventory/vars\_plugins/noop.py** I would expect to get a compile error when running against a playbook, but I don’t. It’s like the vars\_plugins are being ignored.

More concretely, I’ve created a ‘ **vars\_plugins** ’ directory next to my playbooks (like I did with the **action\_plugins** , and which works), and added a modified copy of **noop.py** to it, but it doesn’t get referenced or compiled as far as I can see.

I’m obviously doing something stupid, or it’s broken.

Please help! (Small kittens are suffering!)

Thanks :).

Joe
