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

Commit 0bde6c4

Browse files
authored
Do not manage system directories (#140)
By default node_exporter binary is placed in `/usr/local/bin` which causes removed task to manage this directory. Such "feature" is out of scope of this role and can cause problems in some deployment scenarios.\ This is a follow-up to #137
1 parent d08e7c2 commit 0bde6c4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tasks/install.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
---
2-
- name: create node_exporter binary install directory
3-
file:
4-
path: "{{ _node_exporter_binary_install_dir }}"
5-
state: directory
6-
owner: root
7-
group: root
8-
92
- name: Create the node_exporter group
103
group:
114
name: "{{ node_exporter_system_group }}"

0 commit comments

Comments
 (0)