Roles service-fastd-[intragate|mesh]: update mac prefixes due to fastd instances change
This commit is contained in:
parent
57fff0410e
commit
ac48746a11
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%}
|
{% 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 }}
|
# {{ ansible_managed }}
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%}
|
{% 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 }}
|
# {{ ansible_managed }}
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue