add node exporters to hypervisor hosts

This commit is contained in:
Pim Kunis 2023-07-23 12:08:10 +02:00
parent 23a75af38c
commit 7aee24efff
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1 @@
node_exporter_version: 1.6.1

6
ansible/prometheus.yml Normal file
View file

@ -0,0 +1,6 @@
---
- name: Setup prometheus
hosts: hypervisors
roles:
- role: geerlingguy.node_exporter

View file

@ -1,3 +1,5 @@
---
roles:
- name: setup_apt
src: https://github.com/sunscrapers/ansible-role-apt.git
scm: git
@ -13,3 +15,4 @@
- name: postgresql_database
src: https://git.kun.is/home/ansible-role-postgresql-database
scm: git
- name: geerlingguy.node_exporter