mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 00:28:05 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
10
roles/letsencrypt/templates/cron.j2
Normal file
10
roles/letsencrypt/templates/cron.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
{% if letsencrypt_auto_renew | default(True) %}
|
||||
sleep $[ $RANDOM % 900 ];
|
||||
systemd-cat dehydrated --cron --keep-going
|
||||
{% endif %}
|
||||
|
||||
{% if letsencrypt_revoke_old_certs | default(False) and ansible_os_family == 'RedHat' %}
|
||||
systemd-cat dehydrated_revoke
|
||||
{% endif %}
|
Reference in New Issue
Block a user