2017-09-05 12:01:27 +02:00
|
|
|
{% set ip4hex = item.value.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%}
|
|
|
|
{% set mac = '0212' + ip4hex -%}
|
|
|
|
#
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
#
|
2017-10-03 14:37:39 +02:00
|
|
|
auto {{ item.key }}igVPN
|
|
|
|
iface {{ item.key }}igVPN
|
|
|
|
hwaddress {{ mac | hwaddr('linux') }}
|