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
roles:
- system

View File

@ -5,12 +5,18 @@
state: latest
update_cache: true
- name: Install ulogd (for nftables logging)
ansible.builtin.apt:
name: ulogd2
state: latest
update_cache: true
- name: Enable nftables service
ansible.builtin.service:
name: nftables
state: started
enabled: true
- name: Start nftables service
ansible.builtin.service:
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
roles:
- system