From ca42043073d7887f80d3c3ab6ce15901e8a68491 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Thu, 17 Jun 2021 09:57:44 +0200
Subject: [PATCH] Remove traefik jail for nextcloud docker (too many false
 positives)

---
 templates/jail.Ubuntu20.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/jail.Ubuntu20.j2 b/templates/jail.Ubuntu20.j2
index 318e66e..b0d0770 100644
--- a/templates/jail.Ubuntu20.j2
+++ b/templates/jail.Ubuntu20.j2
@@ -334,7 +334,7 @@ maxretry = 2
 
 
 {% endif %}
-{% if inventory_hostname in groups.docker %}
+{% if inventory_hostname in groups.docker and inventory_hostname not in groups.docker_nextcloud %}
 #
 # Docker containers
 #
-- 
GitLab