From 4e7aa4be06be6cfe0561b47bdeaabee665b882e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krupa?= Date: Wed, 22 Jan 2020 21:49:27 +0100 Subject: [PATCH] Do not manage system directories 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 --- tasks/install.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 47a54b0..d640ad1 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,11 +1,4 @@ --- -- name: create node_exporter binary install directory - file: - path: "{{ _node_exporter_binary_install_dir }}" - state: directory - owner: root - group: root - - name: Create the node_exporter group group: name: "{{ node_exporter_system_group }}"