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

Commit 723a286

Browse files
authored
tasks: do not touch any settings of system directory /usr/local/bin (#116)
/usr/local/bin should always exist on target operating system as it is part of default system layout. If it doesn't exist, it is not this role reponsibility to create it or change its permissions.
1 parent 113c7e9 commit 723a286

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tasks/install.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@
4949
delegate_to: localhost
5050
check_mode: false
5151

52-
- name: Create /usr/local/bin
53-
file:
54-
path: /usr/local/bin
55-
state: directory
56-
mode: 0755
57-
5852
- name: Propagate node_exporter binaries
5953
copy:
6054
src: "/tmp/node_exporter-{{ node_exporter_version }}.linux-{{ go_arch }}/node_exporter"

0 commit comments

Comments
 (0)