1
0
IaC/ansible/playbooks/templates/ethernet.link.j2

9 lines
205 B
Plaintext
Raw Normal View History

2023-08-09 04:38:34 -04:00
[Match]
PermanentMACAddress={{ item.mac_address }}
2023-08-09 08:37:28 -04:00
2023-08-09 04:38:34 -04:00
[Link]
2023-08-09 08:37:28 -04:00
Name={{ item.name | regex_replace('^[0-9]*-', '') | regex_replace('\.link', '') }}
2023-08-09 04:38:34 -04:00
MACAddressPolicy=permanent
MACAddress={{ item.mac_address }}
2023-08-09 08:37:28 -04:00