Le jeudi 21 novembre 2013 23:25:57 UTC+1, Serge van Ginderachter a écrit :
>
> It is really easy:
>
>
> Never, ever use these two syntaxes:
>
> $variable_name
>> ${variable_name}
>>
>
> They are old, deprecated, and not supported!
>
>
> Only use this one:
> 
>
>> {{ variable_name }}
>>
>
> See also 
> http://www.ansibleworks.com/docs/playbooks_variables.html#using-variables-about-jinja2<http://www.google.com/url?q=http%3A%2F%2Fwww.ansibleworks.com%2Fdocs%2Fplaybooks_variables.html%23using-variables-about-jinja2&sa=D&sntz=1&usg=AFQjCNG588EMff1_7sBh8eSMXKuCfdzHEQ>
>
> You'll notice that only the one true syntax is mentioned :)
>
>
> Serge
>
>
>
Hi Serge,

thank you very much.

In fact I've seen jinja2 mentionned on the website but when I find sample 
playbook on the web with explanations they are using old syntax. 
I'll convert them.

F.R.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to