mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-20 17:21:42 +02:00
10 lines
393 B
YAML
10 lines
393 B
YAML
---
|
|
- name: Add cron job for certbot renewal (if configured).
|
|
cron:
|
|
name: Certbot automatic renewal.
|
|
cron_file: ansible_certbot-auto-renew
|
|
job: "{{ certbot_auto_renew_command | default(certbot_script + ' renew ' + certbot_auto_renew_options) }} "
|
|
minute: "{{ certbot_auto_renew_minute }}"
|
|
hour: "{{ certbot_auto_renew_hour }}"
|
|
user: "{{ certbot_auto_renew_user }}"
|