diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-20 19:31:10 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-20 19:31:10 -0700 |
| commit | 13443834896ceba8a00e5d693bf718c3527fba62 (patch) | |
| tree | fcc50f9d3bd5edb9ab2ccd5aeb4d5ec800eea226 | |
| parent | Add static site hosting for eugenetriguba.com (diff) | |
| download | site-configs-13443834896ceba8a00e5d693bf718c3527fba62.zip | |
Update crontab to have ssl renewal run once per day
| -rw-r--r-- | roles/obsd_ssl/tasks/main.yml | 2 |
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 }}" |