Slide 25
Slide 25 text
@KeithResar
https://github.com/openshift/openshift-ansible/blob/master/docs/best_practices_guide.adoc#The-default-filter-SHOULD-replace-empty-strings-lists-etc
When using the jinja2 default filter, unless the variable is a boolean,
specify true as the second parameter. This will cause the default filter to
replace empty strings, lists, etc with the provided default rather than only
undefined variables.
This is because it is preferable to either have a sane default set than to
have an empty string, list, etc. For example, it is preferable to have a
config value set to a sane default than to have it simply set as an empty
string.