Renew certs when expiring within 45 days instead of 30

This commit is contained in:
Amarpreet Minhas 2021-07-29 23:47:57 -04:00
parent 53d9665fbc
commit 82ba63ab45

View file

@ -105,7 +105,7 @@
name: "{{ item.name }} renewal" name: "{{ item.name }} renewal"
hour: "4" hour: "4"
user: lego user: lego
job: 'source /etc/default/lego && /usr/local/bin/lego --pem --path {{ lego_path }} --email {{ lego_email_address }} --dns {{ item.dns }} --domains "{{ item.domain }}" renew --days 30' job: 'source /etc/default/lego && /usr/local/bin/lego --pem --path {{ lego_path }} --email {{ lego_email_address }} --dns {{ item.dns }} --domains "{{ item.domain }}" renew --days 45'
loop: "{{ lego_certs }}" loop: "{{ lego_certs }}"
- name: create haproxy reload crontab - name: create haproxy reload crontab