[monitoring] Add permission to send pings to prometheus-blackbox-exporter

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2022-01-24 00:54:39 +01:00
parent b8448569d4
commit d19545cd84
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,12 @@
---
- name: Configure the exporter to allow pings
debconf:
name: "prometheus-blackbox-exporter"
question: "prometheus-blackbox-exporter/want_cap_net_raw"
value: "true"
vtype: "boolean"
notify: Restart prometheus-blackbox-exporter
- name: Install Prometheus Blackbox exporter
apt:
update_cache: true