Enable Prometheus exporter on nodes by default
This commit is contained in:
parent
010ecefe16
commit
8bf3bbdeb1
|
@ -28,6 +28,9 @@ debian_main_repository: http://ftp.debian.org/debian
|
||||||
debian_security_repository: http://security.debian.org
|
debian_security_repository: http://security.debian.org
|
||||||
debian_pvc_repository: https://repo.parallelvirtualcluster.org/debian
|
debian_pvc_repository: https://repo.parallelvirtualcluster.org/debian
|
||||||
|
|
||||||
|
# Enable Prometheus metric reporting from PVC nodes (installs prometheus-node-exporter)
|
||||||
|
enable_prometheus_exporter: yes
|
||||||
|
|
||||||
# Root user password
|
# Root user password
|
||||||
# > Use pwgen to generate
|
# > Use pwgen to generate
|
||||||
root_password: ""
|
root_password: ""
|
||||||
|
|
|
@ -25,3 +25,5 @@ fail2ban_ignorelist:
|
||||||
- 10.0.0.0/8
|
- 10.0.0.0/8
|
||||||
|
|
||||||
cpu_governor: "ondemand"
|
cpu_governor: "ondemand"
|
||||||
|
|
||||||
|
enable_prometheus_exporter: yes
|
||||||
|
|
|
@ -296,6 +296,12 @@
|
||||||
until: apt_res is success
|
until: apt_res is success
|
||||||
tags: base-packages
|
tags: base-packages
|
||||||
|
|
||||||
|
- name: install Prometheus node exporter if enabled
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- prometheus-node-exporter
|
||||||
|
when: enable_prometheus_exporter is defined and enable_prometheus_exporter
|
||||||
|
|
||||||
- name: install Intel-specific microcode package
|
- name: install Intel-specific microcode package
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
|
Loading…
Reference in New Issue