We use this repo to keep track of our servers' configuration files. Anyone can request to make changes by following the guide in the Contribute
badge above!
We use ansible to download and upate config files on server startup, running the local.yml
playbook as it is on GitHub.
The playbook will:
- Copy files appropriate to each server as defined in
host_vars
- (in the future) merge yaml files and replace secrets using jinja2 templates
Ansible-pull also has an option to only run when changes are present in git, which we use.
- Install Ansible on your server
- Set the server name as an env variable called
SERVER_NAME
(setBUNGEE_SERVER
to true/false to decide whether to ignore theserver/minecraft
directory.) - Configure what servers run on that server under `host_vars/.yml
- Run the command inside
update-configs.sh
on the appropriate server. The rest is done automatically.
The (Ansible) automation part of this project is under the MIT license in the LICENSE
file. The server configs themselves (under servers/
) remain unlicensed.