ansible-on-prem/roles/server/network/templates/auxiliary-interface.network.j2
xbazzi e7ba86f10a
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 35s
Feat: add scylladb + a bunch of stuff I forgot to commit earlier
2025-08-21 23:43:52 -06:00

26 lines
528 B
Django/Jinja

[Match]
Name={{ item.name }}
[Network]
Address={{ hostvars[inventory_hostname]['addresses'][item.name] }}/22
DNS={{ item.gateway }}
Domains={{ item.search_domain }}
IPv6AcceptRA=false
IPv6SendRA=false
[link]
MTUBytes= {{ item.mtu }}
[Route]
Destination=0.0.0.0/0
Gateway= {{ item.gateway }}
Table= {{ item.table_id }}
[Route]
Destination={{ item.subnet }}
Table= {{ item.table_id }}
[RoutingPolicyRule]
From={{ hostvars[inventory_hostname]['addresses'][item.name] }}
Table={{ item.table_name }}
Priority={{ item.priority }}