ansible uses the trim_blocks setting when invoking jinja, by default its
'yes'.

ansible allows for overrides by creating a special header:


```
#jinja2: trim_blocks: False
#
#  {% if i_want_yes %} yes {% else %} no {% endif %}
#
```

----------
Brian Coca

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7d6DSia6-WTyeVWHfvRE6dyr7U5iYbo-8yCRpuWvCkz7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to