ansible: Install prometheus-node-exporter on hosts
authorKienan Stewart <kstewart@efficios.com>
Thu, 27 Jul 2023 20:09:20 +0000 (16:09 -0400)
committerKienan Stewart <kstewart@efficios.com>
Mon, 31 Jul 2023 18:35:13 +0000 (14:35 -0400)
Change-Id: I8ccb421fb39e9b5f7b2f93e54cae0d508676f74b

automation/ansible/roles/common/tasks/setup-Debian.yml

index 62ca401b6b99a1fb957c762ae824b33042bf1f53..c1420e501c85308a674a2951e7cdd9987f9cef94 100644 (file)
@@ -77,3 +77,9 @@
         owner: root
         group: root
         mode: '0644'
+- name: Install prometheus node exporter for physical hosts
+  when: "'hosts' in group_names"
+  ansible.builtin.apt:
+    name:
+      - prometheus-node-exporter
+      - prometheus-node-exporter-collectors
This page took 0.040599 seconds and 4 git commands to generate.