vm-ansible/roles/webgateway/templates/certbot.sh
2022-04-14 22:18:21 +02:00

9 lines
235 B
Bash

#!/bin/bash
# {{ansible_managed}}
{% for proxysite in proxy %}
certbot renew --nginx --cert-name {{ proxysite.domain }}
{% endfor %}
{% for staticsite in static %}
certbot renew --nginx --cert-name {{ staticsite.domain }}
{% endfor %}