
Validate your Jinja Templates with j2lint
Jinja Tip: Validate and check your Jinja templates for syntax errors with j2lint. Ideal for integrating into a CI pipeline.
β https://github.com/aristanetworks/j2lint
Here is an example below π
$ uv tool install j2lint
$ cat config.j2
hostname
{%for int in interfaces%}
interface
ip address {{int.ip}} {{int.NetMask}}
{%endfor