updated nftables state

This commit is contained in:
Paul 2022-01-02 17:39:23 +01:00
parent 3c54e39d56
commit b8b5320927
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
define blacklist = { 127.255.255.255 }

View File

@ -8,6 +8,8 @@ nftables-config-dir:
nftables-blacklist-config:
file.managed:
- name: {{ nftables.config_dir }}/blacklist.nft
- source: salt://nftables/blacklist.nft.j2
- template: jinja
- watch_in:
- service: nftables-service
- require: