Yes, they did, and this was unfortunate.

This was a fix to prevent nodes from returning facts that contain Jinja2
expressions (which long story short could result in some hijinx), and
because the filter choices are made in the template here, we had to remove
the feature for allowing the block delimiters like {{ and {% to be changed
in order to reliably filter these out.

Now, I think what we should probably do (it would have to be on the devel
branch) is make this option *ONLY* be able to set trim_blocks (and maybe
another whitelist of certain options).

Is this something you might like to take a crack at?

trim_blocks themselves was never a problem.





On Wed, Jul 2, 2014 at 8:03 PM, Henry Finucane <[email protected]> wrote:

> Howdy,
> One of the changes to 1.6.6 dropped support for jinja2 template
> directives:
> https://github.com/ansible/ansible/commit/3761bc113295e20771544491d007f1d328f40b99
>
> I'd been leaning on that pretty heavily to convert a project to
> Ansible, and I'm not really looking forward to auditing a couple
> hundred templates. Is there a different way to disable trim_blocks?
>
> Cheers,
>
> --
> -----------------------
> | Henry Finucane
> | "I hear aphorisms are popular"
> -----------------------
>
> --
> 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/CAGYSzJ_RqfQFQhVDecPUXVmpEOSHTLorsXtbRRakSmKBPT3ZEA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgwkB%2B98cxT6NPxqmTGxkk3BZebWH0qoer-6_79EfGr1TQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to