pez-infra/ansible/inventory/host_vars/london-b.yml
Rasmus "Pez" Wejlgaard 853386ce2f
fix: remove custom node_exporter, standardise on package version (#40)
london-b had both a custom node_exporter.service and the
package-managed prometheus-node-exporter.service installed.
Both tried to bind port 9100, causing the package version to fail.

- Add cleanup tasks to remove custom /etc/systemd/system/node_exporter.service
  and /usr/local/bin/node_exporter if present
- Add node_exporter_extra_collectors variable for configurable collectors
- Configure london-b with systemd/processes/sysctl/ethtool/zfs collectors
  matching its previous custom setup

Resolves PESO-109
2026-04-03 01:50:13 +01:00

29 lines
581 B
YAML

---
host_role: storage
host_description: "Primary storage (ZFS), Docker services"
host_location: "London"
docker_services:
- nextcloud-aio
- jellyseerr
- navidrome
- slskd
- miniflux
- smartctl-exporter
- plex-exporter
zfs_pools:
- hdd
node_exporter_extra_collectors:
- systemd
- processes
- sysctl
- ethtool
- zfs
common_ufw_allowed_ports:
- {port: 32400, proto: tcp, comment: "Plex Media Server"}
- {port: 6881, proto: tcp, comment: "BitTorrent"}
- {port: 6881, proto: udp, comment: "BitTorrent"}
- {port: 445, proto: tcp, comment: "Samba"}