From 41b409c8d56040ac1ed7aade1b8615dc127671f0 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 29 Dec 2023 19:55:26 +0100 Subject: [PATCH] Solved bug --- roles/docker-listmonk/templates/config.toml.j2 | 2 +- roles/health-docker-volumes/files/health-docker-volumes.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker-listmonk/templates/config.toml.j2 b/roles/docker-listmonk/templates/config.toml.j2 index 590d74df..1901ae89 100644 --- a/roles/docker-listmonk/templates/config.toml.j2 +++ b/roles/docker-listmonk/templates/config.toml.j2 @@ -16,7 +16,7 @@ admin_password = "{{listmonk_admin_password}}" [db] host = "{{database_host}}" port = 5432 -user = "{{database_user}}" +user = "{{database_username}}" password = "{{database_password}}" # Ensure that this database has been created in Postgres. diff --git a/roles/health-docker-volumes/files/health-docker-volumes.sh b/roles/health-docker-volumes/files/health-docker-volumes.sh index c165e870..8503bc1f 100644 --- a/roles/health-docker-volumes/files/health-docker-volumes.sh +++ b/roles/health-docker-volumes/files/health-docker-volumes.sh @@ -23,7 +23,7 @@ for volume in $anonymous_volumes; do fi ((status++)) - + container_ids=$(docker ps -aq --filter volume=$volume) if [ -z "$container_ids" ]; then echo "Volume $volume is not used by any running containers."