Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

make node_exporter executable file root-owned #89

Merged
merged 1 commit into from
Jun 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
copy:
src: "/tmp/node_exporter-{{ node_exporter_version }}.linux-{{ go_arch }}/node_exporter"
dest: "/usr/local/bin/node_exporter"
mode: 0750
owner: "{{ node_exporter_system_user }}"
group: "{{ node_exporter_system_group }}"
mode: 0755
owner: root
group: root
notify: restart node_exporter
when: not ansible_check_mode