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

9 lines
231 B
Bash
Raw Normal View History

2022-04-14 21:41:04 +02:00
#!/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 %}