Refactor samba-install.yml: clean up whitespace, update notify actions, and standardize tag formatting
This commit is contained in:
@@ -198,7 +198,6 @@
|
|||||||
- samba-server
|
- samba-server
|
||||||
- samba-virusfilter
|
- samba-virusfilter
|
||||||
|
|
||||||
|
|
||||||
- name: (samba-config-server.yml) Configure AppArmor local profile for clamd (data paths)
|
- name: (samba-config-server.yml) Configure AppArmor local profile for clamd (data paths)
|
||||||
template:
|
template:
|
||||||
src: etc/apparmor.d/local/usr.sbin.clamd.j2
|
src: etc/apparmor.d/local/usr.sbin.clamd.j2
|
||||||
@@ -206,7 +205,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