ansible/playbooks/home_game.yml
Jacob Babor 974628ef86 Remove blacklist on str backups
Apparently that's *not* ESMs and stuff
2022-07-16 07:39:18 -05:00

97 lines
2.6 KiB
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
# Game servers
---
- hosts: vm-tes3mp-1.home.mgmt.desu.ltd
gather_facts: no
roles:
- role: docker-tes3mp
vars:
tes3mp_server_hostname: "The N'Wah Spitoon"
tes3mp_server_port: "55455"
tags: [ tes3mp ]
- role: backup
vars:
backup_s3backup_list_extra:
- /data
backup_s3backup_exclude_list_extra:
- /data/tes3mp/generic/backups
tags: [ backup ]
- hosts: vm-str-1.home.mgmt.desu.ltd
gather_facts: no
tasks:
- name: assure str container
docker_container:
name: str
state: started
image: tiltedphoques/st-reborn-server:latest
restart_policy: unless-stopped
pull: yes
ports:
- "10578:10578/udp"
volumes:
- /data/str/config:/home/server/config
- /data/str/data:/home/server/Data
- /data/str/logs:/home/server/logs
tags: [ str, skyrim, docker ]
roles:
- role: backup
vars:
backup_s3backup_list_extra:
- /data
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 ]