Ansible Role: Zeek (Ludus)
An Ansible role to deploy Zeek on Debian and Ubuntu hosts in Ludus environments.
Warning
This role deploys a minimal, unoptimized Zeek setup using the VM’s primary network interface for packet capture. Intended only for small, controlled test environments. Capturing high volumes of traffic may lead to packet loss, performance degradation, or unstable behavior.
Tip
This role is for general Zeek deployment in Ludus. If you want Zeek for a Splunk Attack Range, use @P4T12ICK's role instead.
- Supported: Debian bookworm/12, trixie/13; Ubuntu jammy/22.04, noble/24.04, questing/25.10, resolute/26.04.
- Zeek is installed from the openSUSE Build Service (OBS) repo, with URLs built dynamically for supported versions.
- Tested on Ubuntu 22.04 (jammy), Ubuntu 24.04 (noble), and Debian 12 (bookworm).
- For VLAN-wide capture, disable
bridge-ageingon the Proxmox host’s bridge (see Ludus docs).
Available variables are listed below, along with default values (see defaults/main.yml):
# Optionally install Zeek addons via zkg - was meant for BZAR but it doesn't seem to work very well with recent Zeek versions
ludus_zeek_install_addons: false
ludus_zeek_addons:
- bzar
# Zeek OBS repository base
ludus_zeek_repo_base: "https://download.opensuse.org/repositories/security:/zeek"
# NIC configuration
# ens18 is the default interface on Ludus VMs (at least in my environment)
ludus_zeek_nic_name: "ens18"None.
- hosts: zeek_hosts
roles:
- 5tuk0v.ludus_zeek
vars:
ludus_zeek_nic_name: "eth4"ludus:
- vm_name: "{{ range_id }}-ubuntu-zeek"
hostname: "linux-zeek"
template: ubuntu-22.04-x64-server-template
vlan: 20
ip_last_octet: 11
ram_gb: 4
cpus: 2
linux: true
roles:
- 5tuk0v.ludus_zeekMIT