path security issue (getting root privileges)
This commit is contained in:
parent
0b40cc4b9b
commit
97496ef4b8
2 changed files with 4 additions and 1 deletions
3
group_vars/router/prometheus.yml
Normal file
3
group_vars/router/prometheus.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
prometheus_keepalived__dest: /var/run/prometheus-node-exporter/keepalived.prom
|
||||||
|
...
|
|
@ -28,7 +28,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: u=rwx,g=rw,o=rw
|
mode: u=rwx,g=rx,o=rx
|
||||||
|
|
||||||
- name: Override prometheus-node-exporter.service
|
- name: Override prometheus-node-exporter.service
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue