Hello,

I am wondering if there is a way to list all MAC addresses assigned to each 
interface device found through setup? What I am looking to do is edit the 
/etc/udev/rules.d/70-persistent-net.rules file to assign each detected 
interface after eth0 and apply the MAC address associated with it. It works 
perfectly for /etc/network/interfaces 
( https://gist.github.com/analytically/5760207 ). If there isn't a way I 
can always create a script, but I feel its safer to go through ansible on 
updating this instead of running a script each time the playbook is ran.


Thanks,
Kyle

-- 
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/88599501-17eb-461f-b101-1a3f005a1831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to