Add notifications to reload AppArmor profile and restart clamav-daemon
This commit is contained in:
@@ -204,7 +204,9 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
notify: Reload AppArmor profile clamd
|
||||
notify:
|
||||
- Reload AppArmor profile clamd
|
||||
- Restart clamav-daemon
|
||||
when:
|
||||
- inventory_hostname in groups['samba_server']
|
||||
- samba_shares | selectattr('vfs_object_virusfilter', 'defined') |
|
||||
|
||||
Reference in New Issue
Block a user