ansible/roles/certbot/tasks/renew-cron.yml
Salt b55b061573 Add Certbot
Obviously no example play because internal hosts can't really do that
2020-11-07 23:56:30 -06:00

9 lines
308 B
YAML

---
- 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 }}"