32 lines
1.5 KiB
YAML
32 lines
1.5 KiB
YAML
---
|
|
# Host-specific variables for the external-apps server.
|
|
# ---------------------------------------------------------------------------
|
|
# 1. Set ansible_host to the real public IP or DNS name.
|
|
# 2. Put your real SSH public key in admin_user_ssh_key.
|
|
# 3. Adjust Minecraft / Geyser settings as needed.
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# The server's real address (overrides the placeholder in inventory.yml).
|
|
ansible_host: 203.0.113.10
|
|
|
|
# Your SSH public key. This is what lets you log in after the playbook
|
|
# disables password authentication. Replace the placeholder below.
|
|
admin_user_ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... your-public-key-here"
|
|
|
|
# Minecraft server tuning (see roles/minecraft/defaults/main.yml for all options).
|
|
minecraft_memory: 2G # RAM allocated to the JVM
|
|
minecraft_version: LATEST # or a specific version, e.g. "1.21.1"
|
|
minecraft_server_type: PAPER # PAPER | VANILLA | FABRIC | FORGE | ...
|
|
minecraft_difficulty: normal
|
|
minecraft_max_players: "20"
|
|
minecraft_view_distance: "10"
|
|
minecraft_motd: "Hardened Fedora 42 Minecraft Server"
|
|
|
|
# Comma-separated list of Minecraft usernames allowed to join.
|
|
# Empty string means the whitelist is disabled.
|
|
minecraft_whitelist: ""
|
|
|
|
# Geyser - Bedrock protocol bridge (bedrock clients join the Java world).
|
|
# enable_geyser: true # set to false to skip the Geyser container
|
|
# geyser_port: 19132 # Bedrock UDP port (firewall + container)
|
|
# geyser_auth_type: online # online | offline (offline requires Floodgate) |