This commit is contained in:
Hrankin, Aleksandr (contracted)
2026-02-19 11:34:13 +00:00
commit f243f440c3
191 changed files with 6183 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
---
- name: install nftables
ansible.builtin.apt:
name: nftables
state: present
update_cache: true
notify: apply nftables
- name: deploy nftables config
ansible.builtin.template:
src: "{{ nftables_conf_name }}"
dest: /etc/nftables.conf
owner: root
group: root
mode: "0644"
notify: apply nftables
- name: enable and start nftables service
ansible.builtin.systemd:
name: nftables
enabled: true
state: started