updated nftables state

This commit is contained in:
Paul 2022-01-02 18:04:29 +01:00
parent 343213f6ef
commit abe739eb94

View File

@ -1,7 +1,7 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} ## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{% set blackips = salt["bl.get_ips"]() %} {% set blackips = salt["bl.get_ips"]() %}
{% if len(blackips) > 0 %} {% if blackips|length > 0 %}
define blacklist = { {{ blackips.join(",") }} } define blacklist = { {{ blackips.join(",") }} }
{% else %} {% else %}
define blacklist = { 127.255.255.255 } define blacklist = { 127.255.255.255 }