Hi Brian,

Thank you for the prompt reply.
Is there is any documentation describing that limitation? 
For example it renders correctly some variables inside {{ ... }} but does 
not allows to use control structures {% ... %} to define those variables.
Kindly advise!

Thank you,
Alex

On Friday, June 5, 2020 at 12:04:37 AM UTC+3, Brian Coca wrote:
>
> That is because that is not a feature of Ansible. 
>
> Ansible parses the files using a YAML loader, then it does use jinja2 
> internally for templating, but only on SOME of the values in the data 
> structure returned by YAML. 
>
> ---------- 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/88432abf-cf69-42e2-8b91-f20e5870e1e6o%40googlegroups.com.

Reply via email to