Are jinja2 extensions available?

182 views
Skip to first unread message

Nick Kakouros

unread,
Jun 21, 2020, 3:50:22 PM6/21/20
to Ansible Project
Jinja2 documentation mentions some extensions that can be enabled. Are these available somehow? Can I enable them in Ansible?

Stefan Hornburg (Racke)

unread,
Jun 22, 2020, 1:00:43 AM6/22/20
to ansible...@googlegroups.com
You can try to add them to the Ansible configuration file like that:

jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n

Regards
Racke

>
> --
> 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-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/28c5d0ed-ba8b-4ae2-b51a-1f05f9389cd7o%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/28c5d0ed-ba8b-4ae2-b51a-1f05f9389cd7o%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc

emibcn

unread,
Jan 31, 2023, 11:29:07 AM1/31/23
to Ansible Project
Hi all,
Were you able to configure and use the i18n Jinja2 extension from within Ansible?

Thanks in advance!

El dia dilluns, 22 de juny de 2020 a les 7:00:43 UTC+2, ra...@linuxia.de va escriure:
Reply all
Reply to author
Forward
0 new messages