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."