From 343213f6efea0c0ecda51e664057865e137f92a9 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 2 Jan 2022 18:03:31 +0100 Subject: [PATCH] updated nftables state --- states/nftables/blacklist.nft.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/nftables/blacklist.nft.j2 b/states/nftables/blacklist.nft.j2 index d6a8354..20b0690 100644 --- a/states/nftables/blacklist.nft.j2 +++ b/states/nftables/blacklist.nft.j2 @@ -2,7 +2,7 @@ {% set blackips = salt["bl.get_ips"]() %} {% if len(blackips) > 0 %} -define blacklist = { {% blackips.join(",") %} } +define blacklist = { {{ blackips.join(",") }} } {% else %} define blacklist = { 127.255.255.255 } {% endif %} \ No newline at end of file