clamav: Fix restart handler calls
This commit is contained in:
parent
42e0ccb037
commit
7228ab184d
1 changed files with 3 additions and 3 deletions
|
@ -15,21 +15,21 @@
|
|||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: refresh clamd socket directory
|
||||
notify: Refresh clamd socket directory
|
||||
|
||||
- name: Enable clamd local socket
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/clamd.d/scan.conf
|
||||
regexp: "^#?LocalSocket .*"
|
||||
line: "LocalSocket /run/clamd.scan/clamd.sock"
|
||||
notify: restart clamd
|
||||
notify: Restart clamd
|
||||
|
||||
- name: Allow everyone to connect local socket
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/clamd.d/scan.conf
|
||||
regexp: "^#?LocalSocketMode .*"
|
||||
line: "LocalSocketMode 666"
|
||||
notify: restart clamd
|
||||
notify: Restart clamd
|
||||
|
||||
- name: Enable services
|
||||
ansible.builtin.service:
|
||||
|
|
Loading…
Add table
Reference in a new issue