[monitoring] Add non-free for MIBs

certbot_on_virtu
Alexandre Iooss 2019-05-13 18:23:02 +02:00
parent 4bab036827
commit 1e922de8b0
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
3 changed files with 9 additions and 0 deletions

View File

@ -30,7 +30,10 @@
prometheus_snmp_targets:
- targets:
- pulsar.adm.crans.org
# Debian non-free mirror
debian_mirror: http://ftp.adm.crans.org/debian/
roles:
- debian-non-free
- prometheus
- prometheus-alertmanager

View File

@ -0,0 +1,5 @@
---
- name: Add Debian non-free repository
apt_repository:
repo: deb {{ debian_mirror }} {{ ansible_lsb.codename }} non-free
state: present

View File

@ -5,6 +5,7 @@
name:
- prometheus
- prometheus-snmp-exporter
- snmp-mibs-downloader # To generate SNMP configuration
register: apt_result
retries: 3
until: apt_result is succeeded