path security issue (getting root privileges)

This commit is contained in:
elkmaennchen 2024-03-09 20:09:24 +01:00
parent 0b40cc4b9b
commit 97496ef4b8
Signed by: elkmaennchen
GPG key ID: E5C850EB50335184
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,3 @@
---
prometheus_keepalived__dest: /var/run/prometheus-node-exporter/keepalived.prom
...

View file

@ -28,7 +28,7 @@
state: directory
owner: root
group: root
mode: u=rwx,g=rw,o=rw
mode: u=rwx,g=rx,o=rx
- name: Override prometheus-node-exporter.service
template: