Yeah, I'm aware of ansible_all_ipv4_addresses but that shows all interfaces and I just want eth0. Assuming that list is eth0, eth1, etc. etc. then I guess I could just take the first item in the list.
On Wednesday, April 29, 2015 at 1:06:13 PM UTC-7, Timothy Appnel wrote: > > One of the notes in the docs of the setup module reads: "the filter option > filters only the first level subkey below ansible_facts." So you don't. Not > that way at least. > > What about ansible_all_ipv4_addresses? -- 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/94260ff5-3e44-41bb-83e1-8f3d491f93a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
