From fcfaf91928696569bf80a816dfae8e942980b4e8 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Thu, 11 Feb 2021 19:26:10 +0100 Subject: [PATCH] add source to document the source of hook.sh.j2 --- roles/dehydrated-domains/templates/hook.sh.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/dehydrated-domains/templates/hook.sh.j2 b/roles/dehydrated-domains/templates/hook.sh.j2 index 5baa6a7..69b92d6 100644 --- a/roles/dehydrated-domains/templates/hook.sh.j2 +++ b/roles/dehydrated-domains/templates/hook.sh.j2 @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# This Script is copied from https://github.com/dehydrated-io/dehydrated/blob/v0.7.0/docs/examples/hook.sh +# and modified to accept per domain hooks as item.*_hook when using ansible.template + deploy_challenge() { local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"