updated nftables state
This commit is contained in:
parent
3c54e39d56
commit
b8b5320927
2
states/nftables/blacklist.nft.j2
Normal file
2
states/nftables/blacklist.nft.j2
Normal file
@ -0,0 +1,2 @@
|
||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||
define blacklist = { 127.255.255.255 }
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user