Skip to content

Glossary: Ansible and Server Automation

default (filter)

Also written: default(omit), omit

A Jinja2 filter that supplies a fallback when a variable isn't set. `default(omit)` leaves the setting out of the task entirely.

Where the book teaches it

Related terms

FilterJinja2