That worked, Kai. Thank you. On Monday, March 11, 2019 at 7:29:02 AM UTC-7, Kai Stian Olstad wrote: > > On 09.03.2019 02:47, Chris Jefferies wrote: > > That's too bad because I don't have the mac address before I need to > read > > its attributes. How might a person get a list of the mac addresses > > associated with the interfaces? > > You could try using python method to get the keys .....macs.keys() this > will return the list of all keys in macs. > So the fist one would be .....macs.keys()[0] > > > -- > Kai Stian Olstad >
-- 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/9dbf52b7-4676-4be0-b978-389d7205db3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
