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