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

13 lines
393 B
Bash
Raw Normal View History

2022-04-14 21:41:04 +02:00
#!/bin/bash
# {{ansible_managed}}
2022-05-22 23:07:20 +02:00
certbot renew --nginx --cert-name tormakristof.eu
2022-04-14 21:41:04 +02:00
{% for proxysite in proxy %}
2022-04-14 22:18:21 +02:00
certbot renew --nginx --cert-name {{ proxysite.domain }}
2022-04-14 21:41:04 +02:00
{% endfor %}
{% for staticsite in static %}
2022-04-14 22:18:21 +02:00
certbot renew --nginx --cert-name {{ staticsite.domain }}
2022-04-14 21:41:04 +02:00
{% endfor %}
2022-04-17 14:24:18 +02:00
{% for redirectsite in redirect %}
certbot renew --nginx --cert-name {{ redirectsite.domain }}
{% endfor %}