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

6 lines
191 B
Bash

#!/bin/bash
# {{ansible_managed}}
{% for server in webserver %}
certbot renew --dns-cloudflare --dns-cloudflare-credentials /root/cf-creds.ini 10 --cert-name {{ server.domain }}
{% endfor %}