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

12 lines
386 B
Bash
Raw Normal View History

2021-08-25 04:33:56 +00:00
#!/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 %} \
$@