-
Notifications
You must be signed in to change notification settings - Fork 271
Conversation
dd54aef
to
eb43a65
Compare
defaults/main.yml
Outdated
@@ -2,8 +2,12 @@ | |||
node_exporter_version: 0.16.0 | |||
node_exporter_web_listen_address: "0.0.0.0:9100" | |||
|
|||
node_exporter_textfile_dir: "/opt/node_exporter/textfile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be somewhere in /var
? Maybe in /var/local
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say '/var/lib`, how about that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
tasks/main.yml
Outdated
group: "node-exp" | ||
recurse: true | ||
mode: 0755 | ||
when: node_exporter_textfile_dir is defined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will always be defined since it is set in defaults/main.yml
. Better to check if it is not empty (node_exporter_textfile_dir != ""
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
[feature] Create a default textfile collector directory and enable it by default.
@paulfantom Fixed up, PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
[feature]
Create a default textfile collector directory and enable it by default.