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 touch ssl/${ssl}.pem
until [ -s "ssl/${ssl}.pem.new" ] until [ -s "ssl/${ssl}.pem.new" ]
do 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 sleep 5
done done
old=$(shasum ssl/${ssl}.pem) old=$(shasum ssl/${ssl}.pem)