add letesencrypt hook

This commit is contained in:
lhahn committed 2023-08-26 21:55:59 +02:00
1 parent b6d7079426
commit 999b07e6d3
2 files changed
+41

No files matched your search

+9
View File
@@ -40,3 +40,12 @@
name: letsencrypt
special_time: daily
job: /usr/bin/certbot -q renew
- name: Setup renewal scripts
copy:
dest: "/etc/letsencrypt/renewal-hooks/{{ item.type }}/{{ item.name }}.sh"
mode: 0700
content: "{{ item.content }}"
loop: "{{ letsencrypt_renewal_scripts }}"
loop_control:
label: "{{ item.name }}"