TA> Don't use nested mustaches.

This should probably be a FAQ. :^) FWIW, what helped me understand this is
that the mustaches aren't saying "here's a variable" (in which case you
might think, incorrectly, that you need to put them around all variables
all the time everywhere), but rather "start parsing this as Jinja", and
that once you say that, it keeps happening until you close the mustaches
(which means "stop parsing this as Jinja"). One of the things that happens
when you're parsing as Jinja is that variables get expanded, but thinking
of it as "start Jinja" and "stop Jinja" helped me keep it straight when I
first started with this stuff, anyway.

                                      -Josh ([email protected])



This email is intended for the person(s) to whom it is addressed and may 
contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, 
distribution, copying, or disclosure by any person other than the addressee(s) 
is strictly prohibited. If you have received this email in error, please notify 
the sender immediately by return email and delete the message and any 
attachments from your system.

-- 
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/21962.38250.656216.677376%40gargle.gargle.HOWL.
For more options, visit https://groups.google.com/d/optout.

Reply via email to