Files
Internal-apps/roles/zomboid/templates/zomboid.ini.j2

15 lines
706 B
Django/Jinja

# Managed by Ansible (roles/zomboid/templates/zomboid.ini.j2) — local edits are overwritten on re-run.
# Source of truth: zomboid_* variables in vars.yml.
DefaultPort=16261
UDPPort=16262
Public={{ zomboid_public | lower }}
PublicName={{ zomboid_displayname }}
Password={{ zomboid_password }}
MaxPlayers={{ zomboid_max_players }}
PVP={{ zomboid_pvp | lower }}
PauseEmpty={{ zomboid_pause_empty | lower }}
RCONPassword={{ zomboid_rcon_password }}
RCONPort=27015
# Steam networking follows the visibility mode: public servers use the Steam
# backend (browser listing + relay), private ones fall back to plain UDP direct-connect.
UseSteamNetworking={{ 'true' if zomboid_public|lower == 'true' else 'false' }}