add letesencrypt hook
This commit is contained in:
1 parent
b6d7079426
commit
f54f0f65bc
2 files changed
+42
No files matched your search
@@ -19,6 +19,15 @@
|
||||
--redirect
|
||||
when: certbot_nginx_installation.changed
|
||||
|
||||
- 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 }}"
|
||||
|
||||
- name: create let's-encrypt certificates for web web_sites
|
||||
command:
|
||||
cmd: |
|
||||
@@ -40,3 +49,4 @@
|
||||
name: letsencrypt
|
||||
special_time: daily
|
||||
job: /usr/bin/certbot -q renew
|
||||
|
||||
Reference in new issue
Block a user