mariadb.yml aktualisiert

This commit is contained in:
olli 2024-05-28 11:47:34 +02:00
parent 2f31f75b4f
commit 3a7604c115

View File

@ -69,7 +69,7 @@
touch ssl/${ssl}.pem
until [ -s "ssl/${ssl}.pem.new" ]
do
cat /home/docker/traefik/letsencrypt/acme.json | jq -r ".letsencrypt.Certificates[] | select(.domain.main==\"mail.{{inventory_hostname}}\") | .${ssl}" | base64 -d >ssl/${ssl}.pem.new
cat /home/docker/traefik/letsencrypt/acme.json | jq -r ".letsencrypt.Certificates[] | select(.domain.main==\"mariadb.{{inventory_hostname}}\") | .${ssl}" | base64 -d >ssl/${ssl}.pem.new
sleep 5
done
old=$(shasum ssl/${ssl}.pem)