forked from Netz39_Admin/netz39-infra-ansible
add source to document the source of hook.sh.j2
This commit is contained in:
parent
695fcc2d91
commit
fcfaf91928
1 changed files with 3 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue