work together with iptables
This commit is contained in:
parent
9e03ccc641
commit
0b2d669ce8
1 changed files with 8 additions and 7 deletions
|
|
@ -1,17 +1,18 @@
|
|||
- name: ensure nft is installed
|
||||
apt:
|
||||
pkg:
|
||||
- nftables
|
||||
notify:
|
||||
- reload nftables
|
||||
|
||||
- name: remove legacy firewalls
|
||||
apt:
|
||||
pkg:
|
||||
- ferm
|
||||
- iptables
|
||||
# - iptables
|
||||
purge: True
|
||||
state: absent
|
||||
|
||||
- name: ensure nft is installed
|
||||
package:
|
||||
name: nftables
|
||||
notify:
|
||||
- reload nftables
|
||||
|
||||
- name: setup firewall directories
|
||||
file:
|
||||
path: /etc/nftables.d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue