An Ansible role for installing and configuring Minecraft server 1.18.2 using Temurin 17 OpenJDK on Debian.
Install using Ansible Galaxy:
ansible-galaxy install bsmirks.minecraft
- Debian 11 server with at least the minimum server requirements to run Minecraft.
- A user capable of running with priveliged access to the server.
All available variables for this role can be found in defaults/main.yml.
---
- hosts: foo.bar.com
become: yes
roles:
- role: bsmirks.minecraft
vars:
backup_retention: 7
difficulty: easy
level_name: myWorld
motd: Welcome to your doom, peasant!
server_port: 25565
3-Clause BSD license
Check out my GitHub profile.