17 lines
306 B
YAML
17 lines
306 B
YAML
---
|
|
- name: Install nftables
|
|
ansible.builtin.apt:
|
|
name: nftables
|
|
state: latest
|
|
update_cache: true
|
|
|
|
- name: Enable nftables service
|
|
ansible.builtin.service:
|
|
name: nftables
|
|
state: started
|
|
|
|
- name: Start nftables service
|
|
ansible.builtin.service:
|
|
name: nftables
|
|
enabled: true
|