Decom game1

This puts me at no game servers
fug
This commit is contained in:
Salt 2020-08-05 08:15:37 -05:00
parent 44f79d2b54
commit d3a7c482ae
2 changed files with 64 additions and 65 deletions

View File

@ -62,4 +62,3 @@ all:
38313431663734343931333462316633643935353038313934663466303834636533616165353961 38313431663734343931333462316633643935353038313934663466303834636533616165353961
6438356265656532396363323532616437353831613261323037 6438356265656532396363323532616437353831613261323037
hosts: hosts:
game1.9iron.club:

View File

@ -1,69 +1,69 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
# vim:ft=ansible: # vim:ft=ansible:
--- #---
- hosts: game1.9iron.club #- hosts: game1.9iron.club
roles: # roles:
- role: backups # - role: backups
tags: [ backups ] # tags: [ backups ]
- role: minecraft # - role: minecraft
vars: # vars:
mcname: "botania" # mcname: "botania"
mczip: "https://www.9iron.club/files/botaniapack-1.zip" # mczip: "https://www.9iron.club/files/botaniapack-1.zip"
mcforge: "1.10.2-12.18.3.2511" # mcforge: "1.10.2-12.18.3.2511"
mcmotd: "Second go-around edition" # mcmotd: "Second go-around edition"
mcport: 25565 # mcport: 25565
mcgamemode: 0 # mcgamemode: 0
mcviewdist: 14 # mcviewdist: 14
mcleveltype: "default" # mcleveltype: "default"
tags: [ gameserver, minecraft, botaniapack ] # tags: [ gameserver, minecraft, botaniapack ]
- role: steamgame # - role: steamgame
vars: # vars:
steam_appid: "232330" # steam_appid: "232330"
steam_path: "Counter-Strike Source Dedicated Server" # steam_path: "Counter-Strike Source Dedicated Server"
tags: [ steam, gmod, css ] # tags: [ steam, gmod, css ]
- role: sourcegame # - role: sourcegame
vars: # vars:
source_appid: "4020" # source_appid: "4020"
source_path: GarrysModDS # source_path: GarrysModDS
source_game: garrysmod # source_game: garrysmod
source_instancename: ttt # source_instancename: ttt
source_args: "+gamemode terrortown +map ttt_lttp_kakariko_a4 +host_workshop_collection 2155532035" # source_args: "+gamemode terrortown +map ttt_lttp_kakariko_a4 +host_workshop_collection 2155532035"
source_configrepo: "https://git.9iron.club/salt/gmodconfig" # source_configrepo: "https://git.9iron.club/salt/gmodconfig"
tags: [ steam, gmod ] # tags: [ steam, gmod ]
tasks: # tasks:
- name: Assure Gmod CNAME record # - name: Assure Gmod CNAME record
route53: # route53:
state: present # state: present
overwrite: yes # overwrite: yes
zone: 9iron.club # zone: 9iron.club
type: CNAME # type: CNAME
record: "{{ source_instancename }}.src.9iron.club." # record: "{{ source_instancename }}.src.9iron.club."
ttl: 300 # ttl: 300
value: [ "{{ inventory_hostname }}." ] # value: [ "{{ inventory_hostname }}." ]
become: yes # become: yes
tags: [ dns ] # tags: [ dns ]
- name: Assure Minecraft CNAME record # - name: Assure Minecraft CNAME record
route53: # route53:
state: present # state: present
overwrite: yes # overwrite: yes
zone: 9iron.club # zone: 9iron.club
type: CNAME # type: CNAME
record: "{{ mcname }}.mc.9iron.club." # record: "{{ mcname }}.mc.9iron.club."
ttl: 300 # ttl: 300
value: [ "{{ inventory_hostname }}." ] # value: [ "{{ inventory_hostname }}." ]
become: yes # become: yes
tags: [ dns ] # tags: [ dns ]
- name: Assure Minecraft SRV record # - name: Assure Minecraft SRV record
route53: # route53:
state: present # state: present
overwrite: yes # overwrite: yes
zone: 9iron.club # zone: 9iron.club
type: SRV # type: SRV
record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}." # record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}."
ttl: 300 # ttl: 300
value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ] # value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ]
become: yes # become: yes
tags: [ dns ] # tags: [ dns ]
#- hosts: game2 #- hosts: game2
# roles: # roles:
# - role: backups # - role: backups