Replaces password in healthcheck with dynamic secret #55

Merged
june merged 2 commits from ViMaSter/ansible-infra:main into main 2025-11-02 20:24:55 +01:00
Showing only changes of commit 0f8c0ffef9 - Show all commits

fix: Replaces password in healthcheck with dynamic secret
Some checks failed
/ Ansible Lint (pull_request) Failing after 2m7s

Vincent Mahnke 2025-11-01 21:50:01 +01:00

View file

@ -13,7 +13,7 @@ services:
volumes: volumes:
- mariadb:/var/lib/mysql - mariadb:/var/lib/mysql
healthcheck: healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpassword"] test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-p{{ secret__sunders_db_camera_password }}"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
start_period: 30s start_period: 30s