diff --git a/tasks/main.yml b/tasks/main.yml
index b3da7606b020261d40c6bec6dd0eb1d5e613be8b..92390d667d46430725f6655e7e9324dc59ac9d8c 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -22,7 +22,7 @@
     with_items: '{{ matomo_settings|default([]) }}'
     loop_control:
       loop_var: matomo
-    when: limit_site is not defined or matomo.id is not defined or limit_site == matomo.id
+    when: limit_site is not defined or limit_site == 'False' or matomo.id is not defined or limit_site == matomo.id
     tags:
       - 'ApacheConfig'
       - 'deploy'