Hey,

Indeed, that does seem to be the case, thanks!

The not-so-important question of why it still worked with $() even
though that support shouldn't be there, but I'm not concerned.

Many thanks!
iordan

On Sun, Mar 2, 2014 at 5:08 PM, Michael DeHaan <[email protected]> wrote:
> Yep, that would be it, good catch :)
>
>
>
>
> On Sun, Mar 2, 2014 at 5:01 PM, Petros Moisiadis <[email protected]> wrote:
>>
>> On 03/02/2014 09:36 PM, Michael DeHaan wrote:
>>
>> This should be impossible as there is no legacy variable support on devel,
>> and it's a pretty basic declaration.
>>
>> Can we see the task, template, output, etc?
>>
>> -- Michael
>>
>> On Mar 1, 2014, at 7:13 PM, i iordanov <[email protected]> wrote:
>>
>> Hey guys,
>>
>> If I have the following in an inventory file:
>>
>> [somehostgroup]
>> somehost somevariable=1234
>>
>> I can access the variable with:
>> ${somevariable}
>>
>> But I cannot access the variable with:
>> {{ somevariable }}
>>
>> as I would expect. Is this expected?
>>
>> Many thanks!
>> iordan
>> --
>> 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/0a616444-1a15-451d-8543-5b8afce56ec2%40googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>> --
>> 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/-3900642294177465073%40unknownmsgid.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> 'instance-id' seems to be an invalid identifier for jinja because of the
>> dash ('-') character.
>> Take a look at: http://jinja.pocoo.org/docs/api/#identifier-naming
>>
>> Try to rename your variable to 'instance_id' (replace dash '-' with
>> underscore '_').
>>
>> --
>> 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/5313AA4E.3060702%40yahoo.gr.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/-voEAQDGNzI/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAEVJ8QOvXAZ3X5z7exLmHydXFcaJ__HVH9nGATzsC-TvonnDxA%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
The conscious mind has only one thread of execution.

-- 
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/CAMS0tn1viMr8E3T7i9w6aOgUmAMPf5bwjBc53aYo2WpbPVDU5g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to