mirror of
https://github.com/status-im/infra-role-certbot.git
synced 2025-02-24 08:38:06 +00:00
- introduces a variable certbot_from_git - adds install from package tasks - makes a variable called certbot_script available (to handle certbot vs certbot-auto naming) - fixes #18
9 lines
301 B
YAML
9 lines
301 B
YAML
---
|
|
- name: Add cron job for certbot renewal (if configured).
|
|
cron:
|
|
name: Certbot automatic renewal.
|
|
job: "{{ certbot_script }} renew --quiet --no-self-upgrade"
|
|
minute: "{{ certbot_auto_renew_minute }}"
|
|
hour: "{{ certbot_auto_renew_hour }}"
|
|
user: "{{ certbot_auto_renew_user }}"
|