Skip to content

Commit

Permalink
issue 92: set recurse -> false for textfile collector dir because it …
Browse files Browse the repository at this point in the history
…causes consistent ansible changes in case there are new metric files created by other users

Signed-off-by: Anton Lugovoi <alugovoi@ordercapital.com>
  • Loading branch information
fitz123 committed May 15, 2023
1 parent 27bd8f8 commit a67dd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/node_exporter/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
state: directory
owner: "{{ node_exporter_system_user }}"
group: "{{ node_exporter_system_group }}"
recurse: true
recurse: false # https://github.com/prometheus-community/ansible/issues/92
mode: u+rwX,g+rwX,o=rX
when: node_exporter_textfile_dir | length > 0

Expand Down

0 comments on commit a67dd7c

Please sign in to comment.