ganeti-ansible/roles/node/templates/etc-systemd-network-40-xenbr0.network.j2
2024-11-26 15:56:58 +01:00

10 lines
205 B
Django/Jinja

[Match]
Name={{ bridge_name }}
[Network]
Address={{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}/24
Gateway={{ gateway }}
{% for dns in dns_servers %}
DNS={{ dns }}
{% endfor %}