feat: added ulogd for nftables logging

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-11-17 11:43:40 +01:00
parent b365ca5a02
commit 93fe54ddbc
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
--- ---
- name: "Update/upgrade debian and install docker and misc tools." - name: "Update/upgrade debian and install misc tools."
hosts: basic hosts: basic
roles: roles:
- system - system

View File

@ -5,12 +5,18 @@
state: latest state: latest
update_cache: true update_cache: true
- name: Install ulogd (for nftables logging)
ansible.builtin.apt:
name: ulogd2
state: latest
update_cache: true
- name: Enable nftables service - name: Enable nftables service
ansible.builtin.service: ansible.builtin.service:
name: nftables name: nftables
state: started enabled: true
- name: Start nftables service - name: Start nftables service
ansible.builtin.service: ansible.builtin.service:
name: nftables name: nftables
enabled: true state: started

View File

@ -1,5 +1,5 @@
--- ---
- name: "Update/upgrade debian and install docker and misc tools." - name: "Update/upgrade debian and install router softwares and misc tools."
hosts: router hosts: router
roles: roles:
- system - system