|
@@ -26,7 +26,7 @@
|
26
|
26
|
|
27
|
27
|
- name: Update certificate renwal cron job
|
28
|
28
|
lineinfile: dest=/etc/cron.monthly/letsencrypt-renew state=present
|
29
|
|
- line="cat /etc/letsencrypt/live/{{ domain }}/{privkey,fullchain}.pem > /var/lib/znc/znc.pem; chown znc.znc /var/lib/znc/znc.pem; chmod 640 /var/lib/znc/znc.pem; service znc restart"
|
|
29
|
+ line="cat /etc/letsencrypt/live/{{ domain }}/{privkey,fullchain}.pem > /usr/lib/znc/znc.pem; chown znc.znc /usr/lib/znc/znc.pem; chmod 640 /usr/lib/znc/znc.pem; service znc restart"
|
30
|
30
|
insertafter="EOF"
|
31
|
31
|
|
32
|
32
|
- name: Ensure znc user and group can read cert
|