diff --git a/host_vars/ariane b/host_vars/ariane index 695c254..e33661f 100644 --- a/host_vars/ariane +++ b/host_vars/ariane @@ -2,6 +2,7 @@ inventory_hostname: ariane.fet.htu.tuwien.ac.at inventory_hostname_short: ariane +common_interfaces: interfaces_ariane.j2 common_iptables_v4: "iptables_ariane_v4.j2" common_iptables_v6: "iptables_ariane_v6.j2" diff --git a/roles/common b/roles/common index 827ca87..32cb76a 160000 --- a/roles/common +++ b/roles/common @@ -1 +1 @@ -Subproject commit 827ca87a3991382b2e8f88d723bf3138037512a3 +Subproject commit 32cb76a1d5eed1ec5a983325f7193298913ff333 diff --git a/templates/interfaces_ariane.j2 b/templates/interfaces_ariane.j2 new file mode 100644 index 0000000..b80f6ab --- /dev/null +++ b/templates/interfaces_ariane.j2 @@ -0,0 +1,19 @@ +# {{ ansible_managed }} + +source /etc/network/interfaces.d/* + +auto lo +iface lo inet loopback + +allow-hotplug enp8s0 +iface enp8s0 inet dhcp + +auto br0 +iface br0 inet dhcp + bridge_ports enp9s0 + bridge_fd 0 + bridge_maxwait 0 + +dns-nameservers 192.168.86.1 +#dns-nameservers 192.168.86.1 10.0.3.1 +#dns-nameserver 10.0.3.1