fix: prometheus dir permissions
This commit is contained in:
parent
6fc7d3ce66
commit
149467daf6
1 changed files with 4 additions and 0 deletions
|
|
@ -5,12 +5,16 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/mnt/prometheus"
|
path: "/mnt/prometheus"
|
||||||
state: "directory"
|
state: "directory"
|
||||||
|
owner: "nobody"
|
||||||
|
group: "nogroup"
|
||||||
mode: "0775"
|
mode: "0775"
|
||||||
|
|
||||||
- name: "create prometheus data directory"
|
- name: "create prometheus data directory"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/mnt/prometheus/data"
|
path: "/mnt/prometheus/data"
|
||||||
state: "directory"
|
state: "directory"
|
||||||
|
owner: "nobody"
|
||||||
|
group: "nogroup"
|
||||||
mode: "0775"
|
mode: "0775"
|
||||||
|
|
||||||
# create prometheus config
|
# create prometheus config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue