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