Skip to content
Snippets Groups Projects
Commit 120fb9a3 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

ansible: Add ZNC drop-in for certbot to gate config

parent 17fadd58
No related branches found
No related tags found
No related merge requests found
...@@ -279,6 +279,24 @@ ...@@ -279,6 +279,24 @@
pkg: pkg:
- certbot - certbot
- name: Dir for ZNC drop-in for certbot
file:
state: directory
path: /etc/systemd/system/certbot.service.d
- name: ZNC drop-in for certbot
copy:
dest: /etc/systemd/system/certbot.service.d/znc-setfacl.conf
content: |
[Service]
ExecStart=/bin/bash -c '/usr/bin/setfacl -m u:znc:r-- /etc/letsencrypt/archive/msg.vstill.cz/privkey*.pem'
register: certbot_znc
- name: Reload systemd after installing ZNC drop-in
systemd:
daemon_reload: true
when: certbot_znc.changed
- name: Disk utils - name: Disk utils
apt: apt:
pkg: pkg:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment