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
|
mode: 0644
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
notify: refresh clamd socket directory
|
notify: Refresh clamd socket directory
|
||||||
|
|
||||||
- name: Enable clamd local socket
|
- name: Enable clamd local socket
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/clamd.d/scan.conf
|
path: /etc/clamd.d/scan.conf
|
||||||
regexp: "^#?LocalSocket .*"
|
regexp: "^#?LocalSocket .*"
|
||||||
line: "LocalSocket /run/clamd.scan/clamd.sock"
|
line: "LocalSocket /run/clamd.scan/clamd.sock"
|
||||||
notify: restart clamd
|
notify: Restart clamd
|
||||||
|
|
||||||
- name: Allow everyone to connect local socket
|
- name: Allow everyone to connect local socket
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/clamd.d/scan.conf
|
path: /etc/clamd.d/scan.conf
|
||||||
regexp: "^#?LocalSocketMode .*"
|
regexp: "^#?LocalSocketMode .*"
|
||||||
line: "LocalSocketMode 666"
|
line: "LocalSocketMode 666"
|
||||||
notify: restart clamd
|
notify: Restart clamd
|
||||||
|
|
||||||
- name: Enable services
|
- name: Enable services
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
|
Loading…
Add table
Reference in a new issue