mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-22 21:23:23 +02:00
8 lines
261 B
Plaintext
8 lines
261 B
Plaintext
![]() |
#!/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
|
||
|
|