unbound(role): fix unbound prometheus exporter install on debian
Some checks failed
/ build (pull_request) Failing after 2m46s
/ Ansible Lint (push) Successful in 3m3s
/ Ansible Lint (pull_request) Successful in 3m8s

- download debian image from github und verify checksum
- setup systemd service unit
This commit is contained in:
bitwhisker 2026-06-21 20:13:29 +02:00
commit eb186c4152
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
3 changed files with 65 additions and 13 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Prometheus exporter for Unbound metrics, written in Go with pluggable metric collectors. The metrics exporter converts Unbound metric names to Prometheus metric names and labels by using a set of regular expressions.
Documentation=https://github.com/letsencrypt/unbound_exporter
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/prometheus-unbound-exporter.conf
ExecStart=/bin/unbound_exporter ${UNBOUND_EXPORTER_ARGS}
[Install]
WantedBy=multi-user.target