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:
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user