ansible-role-certbot/tasks/renew-cron.yml

9 lines
308 B
YAML
Raw Permalink Normal View History

2020-04-09 11:30:30 +00:00
---
- name: Add cron job for certbot renewal (if configured).
cron:
name: Certbot automatic renewal.
job: "{{ certbot_script }} renew {{ certbot_auto_renew_options }}"
minute: "{{ certbot_auto_renew_minute }}"
hour: "{{ certbot_auto_renew_hour }}"
user: "{{ certbot_auto_renew_user }}"