ansible/playbooks/home_game.yml

84 lines
2.4 KiB
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
# Game servers
---
- hosts: vm-minecraft-1.home.mgmt.desu.ltd
gather_facts: no
roles:
- role: docker-minecraft
vars:
minecraft_name: oceanblock
minecraft_external_port: 40501
minecraft_pack_zip: "https://srv.9iron.club/files/packs/1.16.5-oceanblock/latest.zip"
minecraft_image: "rehashedsalt/minecraft-forge:1.16.5-master"
minecraft_server_properties:
allow-flight: "true"
difficulty: hard
motd: "OCEAN MAN"
view-distance: "12"
tags: [ minecraft ]
- role: backup
vars:
backup_s3backup_list_extra:
- /data
- /etc
backup_s3backup_exclude_list_extra:
- /data/minecraft/botaniapack2-survival
- /data/minecraft/botaniapack2-creative
- /data/minecraft/oceanblock/backups
tags: [ backup ]
- hosts: vm-minecraft-2.home.mgmt.desu.ltd
gather_facts: no
roles:
- role: docker-minecraft
vars:
minecraft_name: oldpack
minecraft_external_port: 40501
minecraft_pack_zip: "https://srv.9iron.club/files/packs/1.7.10-magicpack/server.zip"
minecraft_image: "rehashedsalt/minecraft-forge:1.7.10-master"
minecraft_server_properties:
allow-flight: "true"
difficulty: "3"
motd: "Ya boy at it again with another playthrough of the same goddamn modpack"
tags: [ minecraft ]
- role: backup
vars:
backup_s3backup_list_extra:
- /data
- /etc
backup_s3backup_exclude_list_extra:
- /data/minecraft/oldpack/backups
tags: [ backup ]
- hosts: vm-terraria-1.home.mgmt.desu.ltd
gather_facts: no
roles:
- role: docker-tmodloader13
vars:
tmodloader_name: thorium
tmodloader_mods:
- ThoriumMod
- BossChecklist
- MagicStorageExtra
- SmartDoors
- SummonersAssociation
- VeinMiner
- Unleveled
- FKBossHealthBar
- ZoomOut
- AlchemistNPC
- BossCursor
- Bags_To_Money
- WingSlot
- StarsAbove
- SubworldLibrary
- StarsAboveMusic
tags: [ tmodloader, terraria ]
- role: backup
vars:
backup_s3backup_list_extra:
- /data
- /etc
backup_s3backup_exclude_list_extra:
- /data/terraria-thorium/backups
tags: [ backup ]