10 lines
359 B
YAML
10 lines
359 B
YAML
# Generate numeric id
|
|
# pve91.proxmox.infra.k-space.ee -> 91
|
|
ipid: "{{ inventory_hostname_short | regex_replace('pve', '') }}"
|
|
|
|
primary_ipv4: 172.21.20.{{ ipid }}/16
|
|
primary_ipv4_gateway: 172.21.255.254
|
|
primary_ipv6: 2001:bb8:4008:21:20::{{ ipid }}/64
|
|
primary_ipv6_gateway: 2001:bb8:4008:21:ffff:ffff:ffff:fffe
|
|
nfs_address: 2001:bb8:4008:101::{{ ipid }}/64
|