rzfeeser.ansible_role_minecraft
Role Name
ansible-role-minecraft:
- This role sets up a Minecraft server on Debian-based systems (like Debian and Ubuntu).
- If you have run this role before, it will STOP the server, back up the game world to /tmp/minecraft_backup/ with today's date, and then START the server again.
- The role runs the Minecraft server software in a screen session called "minecraft."
Requirements
This role installs some extra applications to support the Minecraft server. These include:
- default-jre (Java needed for the server)
- git
- fail2ban
- screen
- vim
Role Variables
The only variables that need to be defined are in vars/main.yml, which include:
Available at https://minecraft.net/en-us/download/server/
mc_version: 'https://launcher.mojang.com/v1/objects/3dc3d84a581f14691199cf6831b71ed1296a9fdf/server.jar'
This should show the current Minecraft server version
mc_version_str: "1.14.1"
Dependencies
This role doesn’t depend on any other roles.
Example Playbook
To run the playbook on remote host(s), use the playbook below:
- name: Deploy the Minecraft server
hosts: minecraft
roles:
- ansible-minecraft
To run the playbook on the local host (where Ansible is installed), use the playbook below:
- name: Deploy the Minecraft server
hosts: localhost
connection: local
roles:
- ansible-minecraft
License
MIT
Author Information
Author: Russell Zachary Feeser
Contact: email: rzfeeser@gmail.com
Profession: Trainer and Consultant
Available for:
- Ansible
- Ansible Module Design with Python
- Network Automation with Python and Ansible
- Python for API and API Design
- Python Basics
- OpenStack
- 5G
- 4G LTE
- IP Multimedia Subsystem
- Session Initiation Protocol
- Playing Minecraft and StarCraft II :p
Informazioni sul progetto
Install and deploys or backups your vanilla Minecraft server
Installa
ansible-galaxy install rzfeeser.ansible_role_minecraft
Licenza
Unknown
Download
1.2k
Proprietario
You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here.