ansible/playbooks/gameservers.yml
2020-07-05 11:47:32 -05:00

82 lines
2.9 KiB
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: game1
roles:
- role: backups
tags: [ backups ]
- role: adam
vars:
adam_name: lain
adam_auth_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
33346238356561313736653431666439363835663134303339366536663964333138666530343166
6132353938663563316265346630613231616362643937380a616132386464653438343739613937
32626230326430396563316363613139306535663832336531636239633364383432373739646436
3338376362313539360a383763313439633331313531323232653866633065333933633061326465
64343165613961346362353162316530623132633164643461616633633335666232633833313561
33306532343963383331623663616161626533633261383238646164663362396261633736636362
373764613833343634346333613639626535
tags: [ discord, adam ]
- role: minecraft
vars:
mcname: "rotary-main"
mczip: "https://www.9iron.club/files/rotarypack-server.zip"
mcforge: "1.7.10-10.13.4.1614-1.7.10"
mcmotd: "Survival with Rotarycraft edition"
mcport: 25565
mcgamemode: 0
mcleveltype: "default"
tags: [ gameserver, minecraft, rotarypack ]
# - role: minecraft
# vars:
# mcname: "rotary-test"
# mczip: "https://www.9iron.club/files/rotarypack-server.zip"
# mcforge: "1.7.10-10.13.4.1614-1.7.10"
# mcmotd: "Creative with Rotarycraft edition"
# mcport: 25566
# mcgamemode: 1
# mcleveltype: "flat"
# tags: [ gameserver, minecraft, rotarypack ]
# - role: terraria
# vars:
# terraria_name: "main"
# terraria_password: "dicks"
# terraria_motd: "New major release edition"
# terraria_port: 7777
# terraria_difficulty: 2
# tags: [ gameserver, terraria ]
- hosts: game2
roles:
- role: backups
tags: [ backups ]
- role: minecraft
vars:
mcname: "magic-main"
mczip: "https://www.9iron.club/files/magicpackredux.zip"
mcforge: "1.12.2-14.23.5.2854"
mcmotd: "Blood for the blood god, flowers for the flower throne"
mcport: 25567
mcgamemode: 0
mcviewdist: 14
mcleveltype: "default"
tags: [ gameserver, minecraft, magicpack ]
- hosts: game3
roles:
- role: steamgame
vars:
steam_appid: "232330"
steam_path: "Counter-Strike Source Dedicated Server"
tags: [ steam, gmod, css ]
- role: sourcegame
vars:
source_appid: "4020"
source_path: GarrysModDS
source_game: garrysmod
source_instancename: gmod
# TODO: Add me when sam figures his shit out
# source_args: "+host_workshop_collection COLLECTION_ID"
source_args: "+gamemode terrortown"
source_configrepo: "https://git.9iron.club/salt/gmodconfig"
tags: [ steam, gmod ]