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: nftables-blacklist-config:
file.managed: file.managed:
- name: {{ nftables.config_dir }}/blacklist.nft - name: {{ nftables.config_dir }}/blacklist.nft
- source: salt://nftables/blacklist.nft.j2
- template: jinja
- watch_in: - watch_in:
- service: nftables-service - service: nftables-service
- require: - require: