ansible/roles/nftables/tasks/main.yaml
Louis Vallat be57907d55
feat: added nftables tasks
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2022-11-17 10:29:52 +01:00

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