From: Kienan Stewart Date: Thu, 27 Jul 2023 20:09:20 +0000 (-0400) Subject: ansible: Install prometheus-node-exporter on hosts X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ae217327fda66a29b6ff66623b591d8ece7d278f;p=lttng-ci.git ansible: Install prometheus-node-exporter on hosts Change-Id: I8ccb421fb39e9b5f7b2f93e54cae0d508676f74b --- diff --git a/automation/ansible/roles/common/tasks/setup-Debian.yml b/automation/ansible/roles/common/tasks/setup-Debian.yml index 62ca401..c1420e5 100644 --- a/automation/ansible/roles/common/tasks/setup-Debian.yml +++ b/automation/ansible/roles/common/tasks/setup-Debian.yml @@ -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