ansible/roles/nftables/tasks/main.yaml

17 lines
306 B
YAML
Raw Normal View History

---
- 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