New server setup based on ubuntu

This commit is contained in:
Martin Bauer
2023-09-19 10:55:47 +02:00
parent 578be1a1cf
commit 7776095180
30 changed files with 240 additions and 186 deletions

View File

@@ -0,0 +1,20 @@
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
## The primary network interface
#allow-hotplug enp2s0
#iface enp2s0 inet dhcp
## This is an autoconfigured IPv6 interface
#iface enp2s0 inet6 auto
auto bond0
iface bond0 inet dhcp
bond-slaves enp3s0 enp4s0 enp5s0
bond-mode 802.3ad
bond-lacp-rate 1
bond-miimon 100
bond-xmit-hash-policy layer3+4

View File

@@ -0,0 +1,8 @@
---
- name: Apt install download & unzip packages
apt:
name:
- ifenslave
- name: Interface file
copy: src=interfaces dest=/etc/network/interfaces