updated nftables state
This commit is contained in:
parent
32c6ad1ab0
commit
3c71f5def3
@ -1,8 +1,8 @@
|
||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||
{% set blackips = salt["bl.get_ips"]() %}
|
||||
{% set blackips = salt["bl.get_ips"]() -%}
|
||||
|
||||
{% if blackips|length > 0 %}
|
||||
{%- if blackips|length > 0 -%}
|
||||
define blacklist = { {{ blackips|join(", ") }} }
|
||||
{% else %}
|
||||
{%- else -%}
|
||||
define blacklist = { 127.255.255.255 }
|
||||
{% endif %}
|
||||
{%- endif -%}
|
Loading…
Reference in New Issue
Block a user