Ansible role for provisioning Minecraft Java edition on Linux machine.
Add the role to playbook:
- hosts: all
vars:
mcj_minecraft_version: '1.21'
mcj_install_dir: /opt/minecraft
mcj_java_opts: -Xmx2048M - Xms1024M
roles:
- cliffano.minecraft-java