Update playbooks/install-node-exporter.yml

This commit is contained in:
2025-07-22 01:28:28 +00:00
parent 6ccd60b4a3
commit 406970bea3

View File

@@ -29,10 +29,12 @@
dest: "/tmp/"
remote_src: true
- name: Install binary
copy:
src: "/tmp/node_exporter-{{ node_exporter_version }}.linux-amd64/node_exporter"
dest: "{{ node_exporter_bin_dir }}/node_exporter"
- name: Move Node Exporter binary into place
command: mv /tmp/node_exporter-{{ node_exporter_version }}.linux-amd64/node_exporter {{ node_exporter_bin_dir }}/node_exporter
- name: Set binary permissions
file:
path: "{{ node_exporter_bin_dir }}/node_exporter"
mode: "0755"
owner: root
group: root