ansible-minecraft

This is a fork from the https://github.com/devops-coop/ansible-minecraft/ Project, thanks for the basement!!!

CircleCI Build Status Install from Ansible Galaxy Chat on gitter.im image1 Documentation Status

This role installs Minecraft or Spigot and configures it to run under systemd or Supervisor.

Features

  • supports vanilla Minecraft and Spigot

  • supports Debian >9, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, CentOS 7, Fedora 29

  • safely stops the server using stop when running under systemd

  • uses Docker and Molecule to run integration tests

  • manages user ACLs

  • manages Bukkit/Spigot Plugins

  • manages server.properties

  • hooks: include arbitrary tasks at specific stages during execution

Out of Role Scop

All of this is needed but not a part of this role!, you will find examples atnolte/minecraft-infrastructure.

Usage

By default this role will be install a Vanilla Minecraft Server.

Install

ansible-galaxy install nolte.minecraft

or add this to your requirements.yml

- name: nolte.minecraft
  version: v5.0.12.dev

and execute ansible-galaxy install -r requirements.yml

Use

- hosts: minecraft
  roles:
     - { role: nolte.minecraft, minecraft_whitelist: ["jeb_", "dinnerbone"]}

Requirements

  • Python 3.x on the Ansible control machine to generate user ACLs

  • Ansible 2.7.0+ on the control machine to fetch the Minecraft version

Contributing

The best way to contribute is to use this role to deploy your own Minecraft server! We really appreciate bug