Roles service-fastd-[intragate|mesh]: update mac prefixes due to fastd instances change

This commit is contained in:
Tobias Hachmer 2017-10-25 19:50:06 +02:00
parent 57fff0410e
commit ac48746a11
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%}
{% set mac = '0212' + ip4hex -%}
{% set mac = '023' + item.1.id|string + ip4hex -%}
#
# {{ ansible_managed }}
#

View file

@ -1,5 +1,5 @@
{% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%}
{% set mac = '0211' + ip4hex -%}
{% set mac = '022' + item.1.id|string + ip4hex -%}
#
# {{ ansible_managed }}
#