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