diff options
| author | Luke Hoersten <[email protected]> | 2026-07-31 14:31:51 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-07-31 14:31:51 -0500 |
| commit | 846782c44c1c65e7b755de76fd50d86fc7c9636e (patch) | |
| tree | cf0ad02ccc06f449f7b26a4633f1665808e8feba /prometheus/client/tasks/main.yaml | |
| parent | fd40a5f246f029de659f01b932b9045f003c20a8 (diff) | |
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
Diffstat (limited to 'prometheus/client/tasks/main.yaml')
| -rw-r--r-- | prometheus/client/tasks/main.yaml | 17 |
1 files changed, 15 insertions, 2 deletions
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 |
