vm-ansible/roles/webserver/templates/certbot.sh

6 lines
191 B
Bash
Raw Normal View History

#!/bin/bash
# {{ansible_managed}}
{% for server in webserver %}
2023-03-05 19:48:09 +01:00
certbot renew --dns-cloudflare --dns-cloudflare-credentials /root/cf-creds.ini 10 --cert-name {{ server.domain }}
{% endfor %}