feat: added nftables tasks

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-11-17 10:29:52 +01:00
parent 0ad05fedf2
commit be57907d55
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -0,0 +1,16 @@
---
- 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