mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-12-16 01:31:08 +01:00
11 lines
385 B
YAML
11 lines
385 B
YAML
---
|
|
- name: Add cron job for certbot renewal (if configured).
|
|
cron:
|
|
name: Certbot automatic renewal.
|
|
cron_file: "{{ certbot_auto_renew_cron_file }}"
|
|
job: "{{ certbot_script }} renew {{ certbot_auto_renew_options }}"
|
|
minute: "{{ certbot_auto_renew_minute }}"
|
|
hour: "{{ certbot_auto_renew_hour }}"
|
|
user: "{{ certbot_auto_renew_user }}"
|
|
register: certbot_cron
|