2017-10-07 00:57:35 +02:00
|
|
|
{% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%}
|
|
|
|
{% set mac = '023' + item.1.id|string + ip4hex -%}
|
2017-09-05 12:01:27 +02:00
|
|
|
#
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
#
|
2017-11-06 21:24:56 +01:00
|
|
|
auto {{ item.0.id }}igvpn-{{ item.1.mtu }}
|
|
|
|
iface {{ item.0.id }}igvpn-{{ item.1.mtu }}
|
2019-03-24 23:14:06 +01:00
|
|
|
mtu {{ item.1.mtu }}
|
2017-10-03 14:37:39 +02:00
|
|
|
hwaddress {{ mac | hwaddr('linux') }}
|