self-hosting/roles/install-nftables/tasks/main.yml

15 lines
232 B
YAML
Raw Normal View History

2022-03-13 11:46:24 +01:00
---
- name: Install nftables
become: true
apt:
name: nftables
state: present
update_cache: yes
notify: Start nftables service
- name: Enable nftables
become: true
systemd:
name: nftables
enabled: true