add: prometheus adhoc script

This commit is contained in:
2023-06-10 22:13:20 +00:00
parent 51eafb5fa4
commit fb47c07810

11
prometheus-adhoc.yaml Normal file
View File

@@ -0,0 +1,11 @@
- name: Install Prometheus Node Exporter
hosts: prometheus
become: yes
tasks:
- name: Install Prometheus Node Exporter
import_role:
name: prometheus.prometheus.node_exporter
vars:
#node_exporter_basic_auth_users:
# prometheus: "toto"
node_exporter_web_telemetry_path: "/node-exporter"