updated nftables state
This commit is contained in:
parent
343213f6ef
commit
abe739eb94
@ -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 }
|
||||||
|
Loading…
Reference in New Issue
Block a user