fix: prometheus dir permissions

This commit is contained in:
Simon Cornet 2025-10-23 16:48:40 +02:00
commit 149467daf6

View file

@ -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