Commit graph

231 commits

Author SHA1 Message Date
cee8d2fb55 windows: set up windows_exporter 2025-10-27 22:51:36 +01:00
c8bed47825 grafana: disable analytics also in general 2025-10-24 17:09:03 +02:00
5a7cd4dd76 debian: add a newline at the end of interfaces file
Not necessary but nicer.
2025-10-22 19:38:06 +02:00
2f02f1eb2c debian: enable automatic upgrades only for virtual machines
And factor out VM stuff into a separate file.
2025-10-22 19:31:01 +02:00
6a5ebfe5b5 alpine: don’t disable IPv6 autoconf on loopback interface
Not sure if it makes a difference but let’s keep the generated config
minimal.
2025-10-22 19:30:31 +02:00
7a4a868d41 alpine: add support for VRF interfaces
Mostly so we can merge the firewall role from the network repo, there
aren’t any other current users.
2025-10-22 19:30:31 +02:00
1b206517b6 alpine: enable automatic upgrades only for virtual machines
And factor out VM stuff into a separate file.
2025-10-22 19:30:17 +02:00
e2c9acd872 alpine: fix condition for loopback interface template 2025-10-22 18:26:18 +02:00
998f2b0598 grafana: fix generated URLs
By setting root_url manually. Also disable some more analytics.
2025-10-21 12:22:06 +02:00
da3db8cc02 Add collector role
Sets up prometheus to pull metrics, with telegraf to process SNMP data.
2025-10-17 22:12:02 +02:00
6600a6fa36 telegraf: drop agent configuration stuff
Servers will be switched to Prometheus. Telegraf remains as a SNMP proxy
(see following commit).
2025-10-17 22:03:33 +02:00
d347fd7215 Add prometheus role
Configured to include job definitions from /etc/prometheus/conf.d/*.yml.
2025-10-17 21:21:01 +02:00
Gašper Fele-Žorž
f33a0b8a21 Add missing files for network boot 2025-10-07 15:13:16 +02:00
Gašper Fele-Žorž
bf6d06e794 Fix netboot entries after fixing git config 2025-10-07 15:11:06 +02:00
Gašper Fele-Žorž
d448660bf2 Merge branch 'master' of git.fri.uni-lj.si:rc/servers 2025-10-07 15:06:51 +02:00
Gašper Fele-Žorž
adf25f33cb Fix groups, default in the main grub.cfg for netboot-grub 2025-10-07 15:06:44 +02:00
450e4bb8f7 facts: look up device/VM services
Not returned by default since NetBox 4.3.
2025-10-06 17:42:49 +02:00
df3b4dc9c3 dnsmasq: increase maximum allowed number of leases 2025-10-06 16:16:12 +02:00
a26cb97933 netbox: remove housekeeping job
No longer necessary.
2025-09-22 10:51:41 +02:00
12ccc9735b forgejo: extend session lifetime to two weeks
Chosen arbitrarily.
2025-09-10 09:59:43 +02:00
d9f60b5511 forgejo: fix config option and re-add missing handler 2025-09-06 10:07:34 +02:00
0c4105f918 Separate forgejo and forgejo-runner roles
Also improve forgejo-runner config.
2025-09-05 22:46:00 +02:00
5c796f2ec0 netbox: disable call home 2025-09-02 08:25:44 +02:00
9afaf49651 debian: fix interface file templating
Make it work for base Debian and Proxmox installs.
2025-08-14 14:37:36 +02:00
04c5be85c5 debian: don’t update package cache for base packages
The repositories might not yet be set up correctly at this point.
2025-08-14 14:21:15 +02:00
e28bb50a9e debian: improve proxmox detection
Assume non-proxmox debians don’t have /etc/pve so we don’t have to
depend on NetBox data.
2025-08-14 10:08:54 +02:00
246178fa5d frr: don’t BGP peer on disabled interfaces 2025-08-13 17:14:28 +02:00
011a0852bb proxmox: remove tasks done by debian role 2025-08-13 17:14:20 +02:00
ef69e31357 debian: don’t set up firewall for proxmox hosts
Also factor firewall setup into a separate task. There is no good way
to distinguish Debian and Proxmox hosts in Ansible, so we rely on the
cluster_type NetBox variable.
2025-08-13 16:37:47 +02:00
45d3e6c4ec debian: fix network interface renaming
To become one with proxmox.
2025-08-13 16:29:37 +02:00
ea1f8f88d0 proxmox: fix network interface renaming
Use systemd .link files which are "relatively futureproof" according
to https://wiki.debian.org/NetworkInterfaceNames .
2025-08-13 16:19:06 +02:00
59c1431f93 proxmox: switch to deb822 source format
Debian did, Proxmox did, now we did too. Also enable ceph repository
if ceph-version is set in config context.
2025-08-12 19:29:28 +02:00
937c75e097 ocserv: notify users about certificates about to expire 2025-08-12 10:59:02 +02:00
7bb27acd2c opensmtpd: configure root mail alias
And add a README.
2025-08-11 14:07:45 +02:00
b64a5880b9 opensmtpd: add support for Debian 2025-08-11 14:04:58 +02:00
7916ae309e opensmtpd: disable TLS for relay
Looks like someone broke it.
2025-08-11 12:46:59 +02:00
292ddbb7e7 ocserv: fix firewall config
Oops, let’s not drop everything but VPN packets in postrouting.
2025-08-11 12:26:55 +02:00
11e456cff1 ocserv: add playbook for creating client certificates 2025-08-04 16:13:30 +02:00
ec9883ca29 ocserv: reload service on certificate renewal 2025-08-01 15:20:55 +02:00
604ce177e6 apache, nginx: fix service reload on Debian
For some unfathomable reason /sbin is not in PATH when running cronjobs.
It shouldn’t hurt on Alpine.
2025-08-01 15:11:23 +02:00
0814e628c5 Add radvd role 2025-07-31 12:15:48 +02:00
7ffb1e7699 debian: enable unattended upgrades 2025-07-31 10:07:49 +02:00
polz
c64a3772ef Role za apache_openidc bi moral delovati na fresh installu 2025-07-30 17:13:19 +02:00
polz
b324daff08 Dodan role za apache 2025-07-30 17:12:38 +02:00
polz
d5b6fe1d92 Role za registrator bi moral delovati na fresh alpine installu 2025-07-30 17:11:37 +02:00
polz
57923a51ad Busybox date namesto --iso zahteva -I 2025-07-26 06:59:42 +02:00
polz
2888dd841f Merge branch 'master' of git.fri.uni-lj.si:rc/servers 2025-07-25 17:11:07 +02:00
polz
04c7efe706 Create registrator role 2025-07-25 17:09:43 +02:00
polz
168641b728 rename apache-php to apache_php 2025-07-25 17:01:03 +02:00
polz
29498edf9e Add role apache_oidc 2025-07-25 17:00:29 +02:00