Getting vars_plugins to work.

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