From 48b75eabe4d9c6ac23b2fa32cd06cfb860ecde20 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 15 May 2020 19:01:25 +0200 Subject: [PATCH] haproxy letsencrypt hook: Fix the path to the certificates. --- library/roles/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/roles/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 b/library/roles/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 index 7c01400f..1aaa92bc 100644 --- a/library/roles/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 +++ b/library/roles/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 @@ -1,6 +1,6 @@ #!/bin/bash -H_NAME=$( hostname -f ) +H_NAME="{{ letsencrypt_acme_sh_certs_data_prefix }}" LE_SERVICES_SCRIPT_DIR=/usr/lib/acme/hooks LE_CERTS_DIR=/var/lib/acme/live/$H_NAME LE_LOG_DIR=/var/log/letsencrypt