Add general server config

This commit is contained in:
Magnus Andersson 2024-05-27 15:35:57 +02:00
parent 5c4da9100f
commit d35b0a5696
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -1,18 +1,16 @@
# Note that the matching is done with re.match() # Note that the matching is done with re.match()
#'^k8sc[1-9].matrix.test.sunet.se$': .+:
# sunet::microk8s::node:
# channel: 1.28/stable
#'^k8sw[1-2].matrix.test.sunet.se$':
# sunet::microk8s::node:
# channel: 1.28/stable
'^k8sw3.matrix.test.sunet.se$':
sunet::microk8s::node:
channel: 1.28/stable
sunet::server: sunet::server:
disable_all_local_users: true disable_all_local_users: true
disable_ipv6_privacy: true disable_ipv6_privacy: true
encrypted_swap: false encrypted_swap: false
nftables_init: false nftables_init: true
fail2ban: true fail2ban: true
ssh_allow_from_anywhere: false ssh_allow_from_anywhere: false
unattended_upgrades: true unattended_upgrades: true
'^k8sc[1-9].matrix.test.sunet.se$':
sunet::microk8s::node:
channel: 1.28/stable
'^k8sw[1-2].matrix.test.sunet.se$':
sunet::microk8s::node:
channel: 1.28/stable