Refactor samba-install.yml: clean up whitespace, update notify actions, and standardize tag formatting

This commit is contained in:
2026-06-01 01:51:33 +02:00
parent a4fe2d3bad
commit 2f5300f53f
+3 -2
View File
@@ -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') |