This Ansible playbook creates a basic Minecraft server on a vanilla ubuntu installation.
- Create a server running Ubuntu 14.04
- Clone this repository
git clone https://github.com/patrickocoffeyo/ansible-minecraft.git
- Open your Ansible hosts file, and a host record called
minecraft_server. Add your server's IP address to the host as an alias like so:
[minecraft_server] alias ansible_ssh_host=XXX.XXX.XX.XX
- Ensure that the system you'll be running Ansible can log into your server with the root user without a password (using SSH keys).
- Run the playbook:
- Configure minecraft to your hearts desire :)