14 lines
351 B
Text
14 lines
351 B
Text
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
Description=Certbot renewal
|
|
|
|
[Container]
|
|
Image=docker.io/infinityofspace/certbot_dns_porkbun:latest
|
|
Volume=/etc/letsencrypt:/etc/letsencrypt:z
|
|
Volume=/var/log/letsencrypt:/var/log/letsencrypt:z
|
|
Volume=/etc/porkbun.ini:/conf/porkbun.ini:z
|
|
Exec=certonly -d "{{ ','.join(certbot_domains) }}"
|
|
|
|
[Service]
|
|
Restart=on-failure
|