mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
8 lines
261 B
Django/Jinja
8 lines
261 B
Django/Jinja
#!/bin/sh
|
|
|
|
DOMAIN="${1}"
|
|
TOKEN_VALUE="${3}"
|
|
lexicon $DNS_PROVIDER {% if letsencrypt_dns_provider_options is defined %}{{ letsencrypt_dns_provider_options }} {% endif %}create ${DOMAIN} TXT --name="_acme-challenge.${DOMAIN}." --content="${TOKEN_VALUE}"
|
|
sleep 5
|
|
|