I have an inventory that contains (for example):
[servers]
1.2.3.4
1.2.3.5
1.2.3.6
server1.foo.bar
server2.foo.bar
I'd like to access the entry under servers as a {{ variable }} in a
playbook, for each of the entries that are processed.
I've read the pages on ansible variables, but didn't find anything that was
a simple as what I'm looking for.
Can somebody point me appropriately?
Thanks,
Ed Greenberg
--
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/6200db13-8f6f-40d4-ae9e-2d2afd5d557e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.