Note that comments on old tickets are not something that will get red, there are simply too many posts of this nature.
Original ticket was rather unclear about what it was about, so it got closed. To be honest, nested variable evaluation in hostvars is a can of worms to resolve and I don't think it will be a thing. On Wed, Jul 16, 2014 at 5:01 PM, Tomasz Kontusz <[email protected]> wrote: > On 16.07.2014 22:40, Matt Peterson wrote: > > Given the following example: > > foo: "y" > boo: "x is {{ foo }}" > > This will renders in a template "x is y" (when referenced as {{ boo }}). > However when called as hostvars[host]['boo'] this renders as "x is {{ foo > }}". From what I can tell this is an interpolation or merging problem. I've > tried different YAML formatting options to no avail. Appreciate any help or > direction to share, thank you. > > Nothing gets templated when accessed through hostvars, see > https://github.com/ansible/ansible/issues/7844 (disclaimer: I've opened > this issue). > > > --Matt > -- > 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/CAFN0R25WbD7P_SdMm26J0rN9Cmj%2BKOEHvF2yAGuy%2B7eS-V4zQA%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAFN0R25WbD7P_SdMm26J0rN9Cmj%2BKOEHvF2yAGuy%2B7eS-V4zQA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > 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/53C6E845.4050709%40gmail.com > <https://groups.google.com/d/msgid/ansible-project/53C6E845.4050709%40gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgzrW2EQG9cYXh7H7FGTWirUTVYGGa0UNe77zhJsDOFHNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
