feat: added ulogd for nftables logging
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
b365ca5a02
commit
93fe54ddbc
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user