From 0ee902a7f373bc9c6dd3a562f3e9252db375a3ca Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sat, 6 Feb 2021 18:49:31 +0100 Subject: [PATCH] make wellknown location configurable --- roles/dehydrated/defaults/main.yml | 1 + roles/dehydrated/templates/config.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/dehydrated/defaults/main.yml b/roles/dehydrated/defaults/main.yml index 2403f57..2a777d3 100644 --- a/roles/dehydrated/defaults/main.yml +++ b/roles/dehydrated/defaults/main.yml @@ -3,3 +3,4 @@ dehydrated_version: "v0.7.0" dehydrated_location: /usr/local/share/dehydrated dehydrated_path: /usr/local/bin/dehydrated dehydrated_config: /usr/local/etc/dehydrated/ +dehydrated_wellknown: /usr/local/etc/dehydrated/challenge diff --git a/roles/dehydrated/templates/config.j2 b/roles/dehydrated/templates/config.j2 index 806d3a1..044ecc3 100644 --- a/roles/dehydrated/templates/config.j2 +++ b/roles/dehydrated/templates/config.j2 @@ -1,2 +1,2 @@ HOOK={{ dehydrated_config }}/hook.sh -WELLKNOWN=/var/www/letsencrypt \ No newline at end of file +WELLKNOWN={{ dehydrated_wellknown }} \ No newline at end of file