Infrastructure as Code
Tools
Jinaj101
Playground for jinja2 templates
Environment Settings
trim_blocks
If this is set to True the first newline after a block is removed (block, not variable tag!). Defaults to False.
lstrip_blocks
If this is set to True leading spaces and tabs are stripped from the start of a line to a block. Defaults to False.
keep_trailing_newline
Preserve the trailing newline when rendering templates. The default is False, which causes a single newline, if present, to be stripped from the end of the template.
newline_sequence
The sequence that starts a newline. Must be one of '\r', '\n' or '\r\n'. The default is '\n' which is a useful default for Linux and OS X systems as well as web applications.
Extensions
i18n
do
loopcontrols
debug
List of Jinja extensions to use. This can either be import paths as strings or extension classes. For more information have a look at the extensions documentation.
Undefined
Undefined
ChainableUndefined
DebugUndefined
StrictUndefined
Undefined or a subclass of it that is used to represent undefined values in the template
Filter
Default (Built-in)
Ansible
SaltStack
StackStorm
Filter imported from tools
Data
YAML
Template
jinja2
Rendered
Text
Render Template
Examples