#!/usr/bin/env ansible-playbook # vim:ft=ansible: # Database servers --- - hosts: game1.thefuck.how roles: - role: backup vars: backup_s3backup_list_extra: - /opt/minecraft/valhelsia - /opt/minecraft/vanilla - /opt/factorio backup_s3backup_exclude_list_extra: - /opt/minecraft/valhelsia/backups - /opt/minecraft/vanilla/backups become: yes tags: [ backup ] - role: minecraft vars: minecraft_name: vanilla minecraft_version: 1.16.4 minecraft_jre_xmx: 1G minecraft_jre_xms: 512M minecraft_server_properties: - opt: difficulty value: normal - opt: motd value: "brett's new serber" - opt: server-port value: 25565 - opt: spawn-protection value: 4 - opt: view-distance value: 12 minecraft_paper_install: yes - role: minecraft vars: minecraft_name: valhelsia minecraft_version: 1.16.3 minecraft_jre_xmx: 5G minecraft_server_properties: - opt: difficulty value: hard - opt: motd value: "Let's get this out onto a tray. Nice, mmkay" - opt: server-port value: 25566 - opt: view-distance value: 10 minecraft_forge_install: yes minecraft_forge_version: 34.1.42 minecraft_forge_packurl: "https://media.forgecdn.net/files/3110/654/Valhelsia_SERVER-pre5-3.1.0.zip" minecraft_forge_mods: - "https://media.forgecdn.net/files/3091/862/ftb-gui-library-1603.1.1.25.jar" - "https://media.forgecdn.net/files/3105/153/ftb-chunks-1603.2.0.43.jar" - "https://media.forgecdn.net/files/3113/275/industrial-foregoing-1.16.4-3.2.2-daea863.jar" minecraft_forge_mods_remove: - industrial-foregoing-1.16.3-3.1.1-a834e76.jar become: yes tags: [ game, minecraft, forge, valhelsia ] - role: factorio vars: server_version: 1.0.0 download_checksum: sha256:81d9e1aa94435aeec4131c8869fa6e9331726bea1ea31db750b65ba42dbd1464 service_name: factorio-main service_root: /opt/factorio/main factorio_server_settings: name: "Krabby Land" description: "Where a kid can have fun" max_players: 8 visibility: public: false lan: false admins: [ "rehashed_salt" ] become: yes tags: [ game, factorio ]