From fb47c0781085a8aa766ca10f60d79f92956fd15e Mon Sep 17 00:00:00 2001 From: Sheppy Date: Sat, 10 Jun 2023 22:13:20 +0000 Subject: [PATCH] add: prometheus adhoc script --- prometheus-adhoc.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 prometheus-adhoc.yaml diff --git a/prometheus-adhoc.yaml b/prometheus-adhoc.yaml new file mode 100644 index 0000000..48e7fd7 --- /dev/null +++ b/prometheus-adhoc.yaml @@ -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"