From f8bddf54c141f1daa75149f896dd9b6a644e7035 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Tue, 20 Jul 2021 00:47:57 +0000 Subject: [PATCH] pulling the value of a single element didn't work... --- templates/Fedora/34/etc/clamd.d/scan.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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