Hi,

I never did anything with Jinja before, now I want to create my first template. :)

Is there an easy way to test my template locally?

Like on the command line with the variable as options?

i.e.
# jinja-test mytemplate.js special=yes proxy=foo


# cat mytemplate.js
proxy={{ proxy }}
{% if special=yes %}
  bla bla
{% endif %}



Marc

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to