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}"