iac/ansible/roles
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski 56dd0255dc
All checks were successful
deploy / ansible (push) Successful in 8m12s
monitoring: watch peers, devices, accounts and logins
Monitoring covered availability only: a new WireGuard peer, a machine
on the private network, an extra account or key, or a login from
outside the VPN would have gone unnoticed.

security-metrics runs every minute on both hosts and exports what it
finds for node_exporter: WireGuard peers and where they connect from,
addresses answering a ping sweep of the VPC, login accounts, sudo and
docker members, listening ports, containers with host-level access,
and fingerprints of the account, sudoers, sshd, WireGuard and
authorized_keys files. Each item is compared with a baseline in the
role defaults and host_vars and exported with known="true|false", so a
deliberate change has to update the baseline with it. On ops it also
counts Forgejo users, keys and runners.

Grafana gets a Security dashboard and an alert group for anything
unknown, a changed access file, an SSH login from outside WireGuard,
failed-login bursts on SSH, Forgejo, Grafana and the asxp.io admin, a
new container, and for logs or the collector itself going quiet, which
would otherwise blind the rest.

It never reads `wg show dump`, which prints preshared keys.

Assisted-by: Claude:fable-5-2
2026-11-15 21:59:16 +04:00
..
acme_forward acme_forward: send services' ACME challenges to Traefik on ops 2026-11-13 08:07:36 +04:00
base base: drop the one-off crontab migration 2026-11-12 07:01:07 +04:00
crawler_alert crawler_alert: let the dry run pass with a new timer 2026-11-13 07:33:37 +04:00
docker_service docker_service: skip health checks in a dry run 2026-11-13 04:59:11 +04:00
forgejo ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
forgejo_runner Pin exact versions of images and actions 2026-11-13 02:46:54 +04:00
forgejo_runner_interop ansible: run the another-im/interop runner on asxpio-services 2026-11-13 03:47:17 +04:00
minecraft Pin exact versions of images and actions 2026-11-13 02:46:54 +04:00
monitoring monitoring: watch peers, devices, accounts and logins 2026-11-15 21:59:16 +04:00
monitoring_agent monitoring: watch peers, devices, accounts and logins 2026-11-15 21:59:16 +04:00
restic_backup ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
s3_replicate ansible: monitoring with Prometheus, Loki and Grafana 2026-11-13 04:59:11 +04:00
s3fs s3fs: allow turning the mounts off, off on asxpio-ops 2026-10-12 05:03:11 +04:00
sillytavern ansible: describe what runs on the servers 2026-11-12 06:47:08 +04:00
ssh_hardening ssh: add user zerrtika 2026-08-13 07:04:04 +04:00
swap swap: add a swapfile role, 2 GB on asxpio-ops 2026-10-12 05:31:32 +04:00
traefik xmpp_cert_sync: push asxp.io and xmpp.asxp.io as separate files 2026-11-13 08:26:08 +04:00
wireguard ansible rework 2025-11-04 11:06:35 +02:00
xmpp xmpp_cert_sync: renew the XMPP certificate through Traefik 2026-11-13 08:16:00 +04:00
xmpp_cert_sync xmpp_cert_sync: keep Jinja out of the script's f-strings 2026-11-13 08:28:27 +04:00
xray ansible: run Xray on asxpio-services 2026-11-12 20:56:42 +04:00