I am transitioning my network interface provisioning to be based on actual hardware/NIC macaddresses rather than trying to use device names like ethN that seem to be inconsistent between different servers and are often different on each OS distribution
I ran into an issue where Ansible reported the macaddress of a bond member as the macadress of the bond itself, which is not what I need/want. I am able to work around the issue by installing Facter and using something like: hostvars[inventory_hostname]['facter_networking']['interfaces'][item].mac which seems to always report the actual NIC macaddress.... But this means I need to install Facter before I configure my network, which is not ideal. Is there a way to get this info/fact from Ansible without relying on Facter? Even if I have to install my own facts..... -- 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/713dfd0e-464b-4758-a619-a8fdb440e940%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
