[Match] PermanentMACAddress={{ item.mac_address }} [Link] Name={{ item.name | regex_replace('^[0-9]*-', '') | regex_replace('\.link', '') }} MACAddressPolicy=permanent MACAddress={{ item.mac_address }}