This is a fork from the https://github.com/devops-coop/ansible-minecraft/ Project, thanks for the basement!!!
This role installs Minecraft or Spigot and configures it to run under systemd.
server.properties
All of this is needet but not a part of this role!, you will find examples at nolte/minecraft-infrastructure.
By default this role will be install a Vanilla Minecraft Server.
ansible-galaxy install nolte.minecraft
or add this to your requirements.yml
- name: nolte.minecraft
and execute ansible-galaxy install -r requirements.yml
- hosts: minecraft
roles:
- { role: nolte.minecraft, minecraft_whitelist: ["jeb_", "dinnerbone"]}
The best way to contribute is to use this role to deploy your own Minecraft server! We really appreciate bug reports from the wild.
If you'd like to help with the project itself, here are some other ways you can contribute:
Apache 2.0
To execute an automatic installation you must accept the Minecraft EULA. Be aware that by using this role, you implicitly accept the same EULA.
You can handle the acception by using a Environment Property like: export mc_accept_eula=true
the default is false
for disagree.