On 6/21/20 9:50 PM, Nick Kakouros wrote: > Jinja2 documentation mentions some extensions that can be enabled. Are these > available somehow? Can I enable them in > Ansible? > > https://jinja.palletsprojects.com/en/2.11.x/templates/#extensions
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
> [email protected]
> <mailto:[email protected]>.
> 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.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5dc6f296-487a-7cd9-86ab-e888fe4e097c%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
