clamav: Refresh socket directory permission after config change

This commit is contained in:
Timo Makinen 2020-09-24 20:22:25 +00:00
parent f8762c5a00
commit 54b0b1da21
2 changed files with 4 additions and 1 deletions

View file

@ -4,3 +4,6 @@
service:
name: clamd@scan
state: restarted
- name: refresh clamd socket directory
command: systemd-tmpfiles --create /etc/tmpfiles.d/clamd.scan.conf

View file

@ -16,7 +16,7 @@
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart clamd
notify: refresh clamd socket directory
- name: enable clamd local socket
lineinfile: