76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
---
|
|
# Configuration Ansible
|
|
ansible_user: ansible
|
|
ansible_become: true
|
|
ansible_become_method: sudo
|
|
|
|
# Configuration Minecraft
|
|
minecraft_version: "1.21.6"
|
|
minecraft_type: "spigot"
|
|
minecraft_user: minecraft
|
|
minecraft_group: minecraft
|
|
minecraft_base_dir: /opt/minecraft
|
|
minecraft_server_dir: /opt/minecraft/server
|
|
minecraft_sources_dir: /opt/minecraft/sources
|
|
minecraft_tools_dir: /opt/minecraft/tools
|
|
minecraft_backup_dir: /opt/minecraft/backups
|
|
|
|
# Configuration mémoire
|
|
minecraft_memory_min: 2048
|
|
minecraft_memory_max: 4096
|
|
|
|
# Configuration Java
|
|
java_version: 21
|
|
java_vendor: openjdk
|
|
|
|
# Configuration Réseau
|
|
server_port: 25565
|
|
rcon_port: 25575
|
|
enable_rcon: true
|
|
rcon_password: "{{ vault_rcon_password | default('ChangeMe123!') }}"
|
|
|
|
# Configuration serveur
|
|
server_name: "Production Minecraft Server"
|
|
max_players: 20
|
|
view_distance: 10
|
|
gamemode: survival
|
|
difficulty: normal
|
|
enable_command_block: false
|
|
online_mode: true
|
|
pvp: true
|
|
white_list: false
|
|
|
|
# Configuration Backup
|
|
backup_retention_daily: 7
|
|
backup_retention_weekly: 4
|
|
backup_retention_monthly: 3
|
|
backup_time_daily: "03:00"
|
|
backup_time_weekly: "04:00"
|
|
backup_time_monthly: "05:00"
|
|
|
|
# Configuration sécurité
|
|
ssh_port: 22
|
|
firewall_allowed_tcp_ports:
|
|
- 22
|
|
- 25565
|
|
- 25575
|
|
firewall_allowed_udp_ports: []
|
|
|
|
# Administrateurs SSH (à remplir avec vos clés)
|
|
admin_ssh_keys: []
|
|
# - name: admin1
|
|
# key: "ssh-rsa AAAAB3..."
|
|
|
|
# Opérateurs Minecraft (à remplir)
|
|
minecraft_ops: []
|
|
# - name: "PlayerName"
|
|
# uuid: "uuid-here"
|
|
# level: 4
|
|
# bypassesPlayerLimit: true
|
|
|
|
# Plugins à installer
|
|
minecraft_plugins_list:
|
|
- name: "EssentialsX"
|
|
url: "https://github.com/EssentialsX/Essentials/releases/latest/download/EssentialsX.jar"
|
|
- name: "Vault"
|
|
url: "https://github.com/MilkBowl/Vault/releases/latest/download/Vault.jar" |