diff --git a/roles/nftables/tasks/main.yaml b/roles/nftables/tasks/main.yaml new file mode 100644 index 0000000..8ddb0f7 --- /dev/null +++ b/roles/nftables/tasks/main.yaml @@ -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