infrastructure/roles/minecraft/defaults/main.yml
2020-08-10 01:37:13 +02:00

48 lines
1.7 KiB
YAML

---
# Default variables for the minecraft role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# Copyright (C) 2019-2020 Christoph (Sheogorath) Kern
# Copyright (C) 2020 Saibotk
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# The install locations
minecraft_install_location: "/srv/minecraft"
minecraft_data_location: "{{ minecraft_install_location }}/data"
minecraft_rcon_location: "{{ minecraft_install_location }}/rcon"
minecraft_backup_location: "{{ minecraft_install_location }}/worlds"
# The minecraft server port that should be exposed
minecraft_server_port: 25565
# The certresolver traefik should use for the domain
minecraft_rcon_certresolver: letsencrypt_http
# The domain under which the rcon web console/websocket is reachable (used by traefik)
minecraft_rcon_domain: minecraft.example.com
# Should the RCON webinterface be deployed?
minecraft_enable_rcon_web: False
# The RCON password
minecraft_rcon_password: "CHANGEME"
# The minecraft container configuration as environment variables (see https://github.com/itzg/docker-minecraft-server)
minecraft_config: []
# IPv6 ULA config for the bridge network used by docker-ipv6-nat
minecraft_ipv6:
enabled: false
subnet: "fd9e:21a7:a92c:2325::/64"