Add prometheus exporter

This commit is contained in:
Gašper Fele-Žorž 2025-09-25 07:57:53 +02:00
parent eb4a2974ad
commit f1c8801774
4 changed files with 14 additions and 0 deletions

View file

@ -9,3 +9,4 @@ dependencies:
- role: sumatrapdf
- role: vlc
- role: wget
- role: prometheus-exporter

View file

@ -0,0 +1,4 @@
- import_tasks: main_win.yml
when: ansible_os_family == 'Windows'
- import_tasks: main_lin.yml
when: ansible_os_family == 'Debian'

View file

@ -0,0 +1,6 @@
- name: Install prometheus-exporter
apt:
name:
- prometheus-node-exporter
- prometheus-pushgateway
state: latest

View file

@ -0,0 +1,3 @@
- name: Install prometheus exporter
win_chocolatey:
name: prometheus-windows-exporter.install