mirror of https://dev.ccchb.de/ccchb/ansible.git
17 lines
398 B
Plaintext
17 lines
398 B
Plaintext
|
# The primary network interface
|
||
|
allow-hotplug enp0s3
|
||
|
{% if ipv4 is defined %}
|
||
|
iface enp0s3 inet static
|
||
|
address {{ipv4}}/31
|
||
|
gateway {{ipv4route}}
|
||
|
# dns-* options are implemented by the resolvconf package, if installed
|
||
|
dns-nameservers {{ipv4route}}
|
||
|
dns-search emma.ccchb.de
|
||
|
{% endif %}
|
||
|
|
||
|
{% if ipv6 is defined %}
|
||
|
iface enp0s3 inet6 static
|
||
|
address {{ipv6}}/127
|
||
|
gateway {{ipv6route}}
|
||
|
{% endif %}
|