add source to document the source of hook.sh.j2

This commit is contained in:
David Kilias 2021-02-11 19:26:10 +01:00 committed by Gitea
parent 695fcc2d91
commit fcfaf91928

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash #!/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() { deploy_challenge() {
local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}" local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"