Open Ayfri opened 3 months ago
Hey there,
thanks for your feedback.
I understand that this is a pretty common use-case for Jinja-templating.
However, I also think that something like that might be out of scope for this plugin.
It basically aims to quickly test "stock" Jinja templates (with the addition of widely used Ansible-specific filters).
(The plugin will never be able to replace a "proper" Jinja run with all imports, custom filters, etc. The possibilities there are endless.)
I'm also not sure where/how this should be configured by the user, if such a feature would be integrated into the plugin. :thinking:
I guess I'll have to sleep on it in a few nights. :smile:
I see, thanks for the reply nonetheless !
Hey, now the plugin correctly works on Windows, but doesn't with custom filters. I don't really know how you would do this, maybe just write down some place holders values as custom filters can be defined in many ways.
For example, here's how I do it personally: