From 846782c44c1c65e7b755de76fd50d86fc7c9636e Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Fri, 31 Jul 2026 14:31:51 -0500 Subject: install from the 26.04 archive instead of third-party sources - rpi-base: log2ram from the archive, drop the azlux repo (which still pointed at debian buster) - aws-s3-backup: apt awscli (v2) instead of pip v1; drop boto3, nothing used it - scrypted, koreader-sync: docker.io and docker-compose-v2 instead of the docker.com repo pinned to noble; the docker-ce removal lives in cleanup-third-party.yaml since the packages collide on files - miniflux: the archive package with a dbconfig preseed; drops the github binary download and the bundled unit - prometheus/client: note the nginx and postgres exporters are in apt - dendrite/build, nostr/build: unversioned golang-go instead of pinned golang-1.21-go and a hand symlink that shadowed the real go --- prometheus/client/tasks/main.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'prometheus') diff --git a/prometheus/client/tasks/main.yaml b/prometheus/client/tasks/main.yaml index 707b06a..7e8fb68 100644 --- a/prometheus/client/tasks/main.yaml +++ b/prometheus/client/tasks/main.yaml @@ -8,22 +8,35 @@ become: yes systemd: name="prometheus-node-exporter.service" enabled="yes" state="started" +# Optional per-service exporters, both in 26.04 apt (verified: nginx 1.5.1, +# postgres 0.19.0). Uncomment to deploy. + # # Nginx # - name: check if running nginx # stat: path="/etc/nginx/" # register: stat_nginx_conf -# - name: install prometheus-nginx-exporter +# - name: install prometheus nginx exporter # become: yes # apt: name="prometheus-nginx-exporter" # when: stat_nginx_conf.stat.exists +# - name: ensure prometheus nginx exporter is started +# become: yes +# systemd: name="prometheus-nginx-exporter.service" enabled="yes" state="started" +# when: stat_nginx_conf.stat.exists + # # PostgreSQL # - name: check if running postgresql # stat: path="/etc/postgresql/" # register: stat_postgresql_conf -# - name: install prometheus-postgresql-exporter +# - name: install prometheus postgres exporter # become: yes # apt: name="prometheus-postgres-exporter" # when: stat_postgresql_conf.stat.exists + +# - name: ensure prometheus postgres exporter is started +# become: yes +# systemd: name="prometheus-postgres-exporter.service" enabled="yes" state="started" +# when: stat_postgresql_conf.stat.exists -- cgit v1.2.3