Call ZNC certificate generation in `post` not `deploy` hook

Signed-off-by: decentral1se's avatarLuke Murphy <lukewm@riseup.net>
parent 2eea25de
......@@ -56,11 +56,11 @@
creates: "/home/{{ znc_system_user }}/.znc/znc.pem"
warn: false
- name: Copy over the /etc/letsencrypt/renewal-hooks/deploy script.
- name: Copy over the /etc/letsencrypt/renewal-hooks/post script.
become: true
template:
src: update-znc-pem.j2
dest: /etc/letsencrypt/renewal-hooks/deploy/update-znc-pem.sh
dest: /etc/letsencrypt/renewal-hooks/post/update-znc-pem.sh
force: true
mode: 0744
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment