public-health-ch/ansible/roles/geerlingguy.certbot/tasks/renew-cron.yml
2017-06-02 12:52:15 +02:00

8 lines
301 B
YAML

---
- name: Add cron job for certbot renewal (if configured).
cron:
name: Certbot automatic renewal.
job: "{{ certbot_script }} renew --quiet --no-self-upgrade"
minute: "{{ certbot_auto_renew_minute }}"
hour: "{{ certbot_auto_renew_hour }}"
user: "{{ certbot_auto_renew_user }}"