I guys, ansible newbie here...
I've read how to refere variables inside vars.yml file here:
http://www.ansibleworks.com/docs/YAMLSyntax.html
foo: 1
foo_value: {{ foo }}
then under my playbook.yml load vars.yml with vars_file: directive and call
them with {{ foo_value }}.
This is working fine but, what about this:
foo:
bar: hello
baz: {{ bar }}
and call it under the play with {{ foo.baz }}.
Is there a way to do this?
I've tried this 4 ways but wihout success... http://pastie.org/8514924
help :)
cheers,
Frank
--
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.