cdist/cdist/conf/type/__letsencrypt_cert/explorer/certificate-domains

5 lines
125 B
Bash
Executable File

#!/bin/sh -e
certbot certificates --cert-name "${__object_id:?}" | grep ' Domains: ' | \
cut -d ' ' -f 6- | tr ' ' '\n'