Thanks @sivel.
This is possible with:
-
- #jinja2: lstrip_blocks: "true", trim_blocks: "true" (as first line of
yml task file before ---)
- all {% and %} replaced with {%- and -%} respectively
- both double-quotes removed from my previous example (which is normal
jinja actually)
- all \\n replaced by \n in all regex_replace (n being a number)
- maybe there are other pitfalls
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f5f96d7e-f790-4eb6-8bf3-e8e9c554b8d0n%40googlegroups.com.