On 24. mai 2017 00:09, Owen Corcoran wrote:
Thanks that fixed it . Can you tell me why you can't use them . Just so I know for future reference.
When you are inside {% %} block, you are in Jinja mode, and in Jinja variables is used only by it's name.
When you are outside of {% %} you need {{ }} to say that this is a Jinja expression.
For more information about Jinja the documentation is here http://jinja.pocoo.org/docs/dev/templates/ -- Kai Stian Olstad -- 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/db085670-0200-2673-b3bf-83e4178d5aff%40olstad.com. For more options, visit https://groups.google.com/d/optout.
