Add Libvirt Prometheus exporter

This commit is contained in:
Joshua Boniface 2023-12-10 01:42:09 -05:00
parent 7a2c16e2a5
commit 258b5792da
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,15 @@
retries: 5
until: apt_res is success
- name: install Prometheus libvirt exporter if enabled
apt:
name:
- prometheus-libvirt-exporter
register: apt_res
retries: 5
until: apt_res is success
when: enable_prometheus_exporters is defined and enable_prometheus_exporters
- name: add libvirt user to ceph group
user:
name: libvirt-qemu