Skip to content
Snippets Groups Projects
Commit bf0959f2 authored by Jonas Leder's avatar Jonas Leder
Browse files

update node exporter

parent 681d2467
Branches
Tags
No related merge requests found
- name: Install Prometheus node exporter
hosts: all
vars:
node_exporter_version: 1.7.0
node_exporter_version: 1.8.2
arch: "{% if ansible_architecture == 'x86_64' %}amd64{% elif ansible_architecture == 'aarch64' %}arm64{% endif %}"
tasks:
- name: uninstall node-exporter package
......@@ -29,7 +29,7 @@
file:
path: /var/node-exporter
state: directory
mode: 0777
mode: 777
- name: Create text collector tmpfs mount
mount:
path: /var/node-exporter
......@@ -41,7 +41,7 @@
copy:
src: files/node_exporter.service
dest: /etc/systemd/system/node_exporter.service
mode: 0644
mode: 644
- name: reload systemd
systemd:
daemon_reload: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment