Ensure cron install

This commit is contained in:
Simon Caron 2025-08-18 23:19:49 -04:00
parent cec91ab14d
commit 04163df8ad
2 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,9 @@
---
- name: Install cron package (if not present).
package:
name: "{{ certbot_cron_package }}"
state: present
- name: Add cron job for certbot renewal (if configured).
cron:
name: Certbot automatic renewal.

View File

@ -1,3 +1,4 @@
---
certbot_package: certbot
certbot_dns_cloudflare_package: python3-certbot-dns-cloudflare
certbot_cron_package: cron