clamav: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-30 17:07:47 +00:00
parent 0b7fb73261
commit 986542b877
2 changed files with 18 additions and 16 deletions

View file

@ -1,9 +1,12 @@
---
- name: restart clamd
service:
- name: Restart clamd
ansible.builtin.service:
name: clamd@scan
state: restarted
- name: refresh clamd socket directory
command: systemd-tmpfiles --create /etc/tmpfiles.d/clamd.scan.conf
- name: Refresh clamd socket directory
ansible.builtin.command:
argv:
- systemd-tmpfiles
- --create
- /etc/tmpfiles.d/clamd.scan.conf