Skip to content

Commit

Permalink
Folders expected by node-exporter (comment in Issue #2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
romsok24 committed Dec 2, 2021
1 parent eee0506 commit 986eb43
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
vars:
file_name: "{{ exporter_file_name }}"

- name: Create /opt/node_exporter directories
- name: Create node_exporter and textfile_collector directories
file:
path: "{{ item }}"
recurse: true
Expand All @@ -35,6 +35,7 @@
state: directory
with_items:
- /opt/node_exporter
- /var/lib/prometheus/node-exporter/textfile_collector

- name: Unpack node_exporter binary
unarchive:
Expand Down

0 comments on commit 986eb43

Please sign in to comment.