public-health-ch/ansible/roles/geerlingguy.certbot/tasks/renew-cron.yml

9 lines
308 B
YAML
Raw Normal View History

2017-06-02 10:52:15 +00:00
---
- name: Add cron job for certbot renewal (if configured).
cron:
name: Certbot automatic renewal.
2018-12-17 12:50:15 +00:00
job: "{{ certbot_script }} renew {{ certbot_auto_renew_options }}"
2017-06-02 10:52:15 +00:00
minute: "{{ certbot_auto_renew_minute }}"
hour: "{{ certbot_auto_renew_hour }}"
user: "{{ certbot_auto_renew_user }}"