According to the release notes of Jinja2 Version 2.11.0 (released on 2020-01-27) there is a new class named "ChainableUndefined" to handle undefined variables on multiple levels in Jinja2 templates. Currently, I use a ansible task using the module "template" to render jinja2 templates. However, I don't know how to pass this new "ChainableUndefined" class to the parameter "undefined" in the Jinja2 environment via the ansible module.
Does anyone know how to set the parameter "undefined" to ChainableUndefined through the ansible "template" module? Does the module "template" only support the "StrictUndefined" class, currently? -- 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/55390a3d-6fe7-40f4-8fcb-c8b9a4fa4a88o%40googlegroups.com.
