1
0
Fork 0
home-stack-ansible/roles/haproxy/templates/certbot-run.sh

12 lines
386 B
Bash

#!/bin/sh
certbot certonly \
--non-interactive \
--agree-tos \
--email {{ letsencrypt.email }} \
--deploy-hook '/opt/certbot/certbot-deploy.sh' \
--dns-digitalocean \
--dns-digitalocean-credentials /opt/certbot/certbot-creds.ini \
--dns-digitalocean-propagation-seconds 30 \
{% for domain in letsencrypt.domains %}-d '{{ domain }}' {% endfor %} \
$@