From 149467daf6c704587299b3a5a9f6e05fb18f7a94 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 23 Oct 2025 16:48:40 +0200 Subject: [PATCH] fix: prometheus dir permissions --- tasks/prometheus.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/prometheus.yaml b/tasks/prometheus.yaml index f5d0564..ae48918 100644 --- a/tasks/prometheus.yaml +++ b/tasks/prometheus.yaml @@ -5,12 +5,16 @@ ansible.builtin.file: path: "/mnt/prometheus" state: "directory" + owner: "nobody" + group: "nogroup" mode: "0775" - name: "create prometheus data directory" ansible.builtin.file: path: "/mnt/prometheus/data" state: "directory" + owner: "nobody" + group: "nogroup" mode: "0775" # create prometheus config