ansible-role-certbot/tasks/renew-cron.yml
Dieter Provoost ce3a65be99 allow cron renew arguments to be configurable
Default implementation provides a backward compatible solution
and fixes the issue where the "--quiet" argument doesn't exist
anymore in Ubuntu 16.04's default installation of letsencrypt.
2017-09-30 11:58:35 +02:00

9 lines
305 B
YAML

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