aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-20 19:31:10 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-20 19:31:10 -0700
commit13443834896ceba8a00e5d693bf718c3527fba62 (patch)
treefcc50f9d3bd5edb9ab2ccd5aeb4d5ec800eea226
parentAdd static site hosting for eugenetriguba.com (diff)
downloadsite-configs-13443834896ceba8a00e5d693bf718c3527fba62.zip
Update crontab to have ssl renewal run once per day
-rw-r--r--roles/obsd_ssl/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/obsd_ssl/tasks/main.yml b/roles/obsd_ssl/tasks/main.yml
index 4a3b23f..997f35d 100644
--- a/roles/obsd_ssl/tasks/main.yml
+++ b/roles/obsd_ssl/tasks/main.yml
@@ -44,9 +44,11 @@
# > httpd(8) is reloaded:
# >
# > ~ * * * * acme-client example.com && rcctl reload httpd
+ # Except I want it once per day rather than once per hour.
ansible.builtin.cron:
name: "renew {{ item.name }} certificate"
minute: "~"
+ hour: "~"
user: root
job: "acme-client {{ item.name }} && rcctl reload httpd"
loop: "{{ obsd_ssl_domains }}"