nft role + disable iptables when nft enabled
This commit is contained in:
parent
a74dba4557
commit
848917a72c
17 changed files with 348 additions and 57 deletions
13
roles/nft/handlers/main.yaml
Normal file
13
roles/nft/handlers/main.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
|
||||
- name: Reload nftables
|
||||
ansible.builtin.systemd:
|
||||
name: "nftables"
|
||||
state: reloaded
|
||||
enabled: true
|
||||
tags:
|
||||
- nft
|
||||
- nftservice
|
||||
when:
|
||||
- nft|bool
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue