diff --git a/templates/Fedora/34/etc/clamd.d/scan.conf b/templates/Fedora/34/etc/clamd.d/scan.conf index caa610b..3dafd6a 100644 --- a/templates/Fedora/34/etc/clamd.d/scan.conf +++ b/templates/Fedora/34/etc/clamd.d/scan.conf @@ -720,8 +720,8 @@ OnAccessPrevention yes # Default: disabled #OnAccessMountPath / #OnAccessMountPath /home/user -{% for item in ansible_mounts|map('mount')|sort %} -OnAccessMountPath {{ item }} +{% for item in ansible_mounts %} +OnAccessMountPath {{ item.mount }} {% endfor %} # With this option you can whitelist the root UID (0). Processes run under