add letesencrypt hook
This commit is contained in:
1 parent
b6d7079426
commit
999b07e6d3
2 files changed
+41
No files matched your search
@@ -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 }}"
|
||||
Reference in new issue
Block a user