MythicSalt/states/certificates/dehydrated/dehydrated-mythic-dns01/clean-challenge/mythic-dns01

11 lines
257 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
# Copyright (C) 2018 Mythic Beasts Ltd
. "$(dirname "$0")"/../common/mythic-dns01
echo -ne "$ARGS" | while read domain filename token; do
echo " ++ cleaning DNS for $domain"
call_api DELETE _acme-challenge.$domain $token
done