From 2de31aa550fc0a686f514e85219488bfbbf8dc6f Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Wed, 30 Jul 2025 00:03:26 -0400 Subject: [PATCH] run grafana as user --- readme.md | 12 ++++++++++++ tasks/monitoring.yml | 1 + 2 files changed, 13 insertions(+) diff --git a/readme.md b/readme.md index b74419c..7d792c1 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,13 @@ # Homelab IaC + +This repository hosts my homelab infrastructure setup, built using Ansible & Gitea Workflows. + +## Getting started + +You'll need to install Ansible Playbook, either through APT or another avenue. + +``` +sudo apt install ansible-core +``` + +Then, configure your vaults using the variable templates provided & update the hosts file to match your hosts. After you've done so, you can simply run `ansible-playbook main.yml` & it will deploy all containers. diff --git a/tasks/monitoring.yml b/tasks/monitoring.yml index 557de58..a1d8503 100644 --- a/tasks/monitoring.yml +++ b/tasks/monitoring.yml @@ -15,6 +15,7 @@ - name: Create Grafana Docker Container docker_container: name: grafana + user: "{{ PUID }}" image: grafana/grafana:latest restart_policy: unless-stopped recreate: true