From d3a7c482aec8049a39bf119ecffecbb74f17b656 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 5 Aug 2020 08:15:37 -0500 Subject: [PATCH] Decom game1 This puts me at no game servers fug --- inventory/hosts.yml | 1 - playbooks/gameservers.yml | 128 +++++++++++++++++++------------------- 2 files changed, 64 insertions(+), 65 deletions(-) diff --git a/inventory/hosts.yml b/inventory/hosts.yml index a7cafa0..137bdfd 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -62,4 +62,3 @@ all: 38313431663734343931333462316633643935353038313934663466303834636533616165353961 6438356265656532396363323532616437353831613261323037 hosts: - game1.9iron.club: diff --git a/playbooks/gameservers.yml b/playbooks/gameservers.yml index 9b003df..3c134d7 100644 --- a/playbooks/gameservers.yml +++ b/playbooks/gameservers.yml @@ -1,69 +1,69 @@ #!/usr/bin/env ansible-playbook # vim:ft=ansible: ---- -- hosts: game1.9iron.club - roles: - - role: backups - tags: [ backups ] - - role: minecraft - vars: - mcname: "botania" - mczip: "https://www.9iron.club/files/botaniapack-1.zip" - mcforge: "1.10.2-12.18.3.2511" - mcmotd: "Second go-around edition" - mcport: 25565 - mcgamemode: 0 - mcviewdist: 14 - mcleveltype: "default" - tags: [ gameserver, minecraft, botaniapack ] - - 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: ttt - source_args: "+gamemode terrortown +map ttt_lttp_kakariko_a4 +host_workshop_collection 2155532035" - source_configrepo: "https://git.9iron.club/salt/gmodconfig" - tags: [ steam, gmod ] - tasks: - - name: Assure Gmod CNAME record - route53: - state: present - overwrite: yes - zone: 9iron.club - type: CNAME - record: "{{ source_instancename }}.src.9iron.club." - ttl: 300 - value: [ "{{ inventory_hostname }}." ] - become: yes - tags: [ dns ] - - name: Assure Minecraft CNAME record - route53: - state: present - overwrite: yes - zone: 9iron.club - type: CNAME - record: "{{ mcname }}.mc.9iron.club." - ttl: 300 - value: [ "{{ inventory_hostname }}." ] - become: yes - tags: [ dns ] - - name: Assure Minecraft SRV record - route53: - state: present - overwrite: yes - zone: 9iron.club - type: SRV - record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}." - ttl: 300 - value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ] - become: yes - tags: [ dns ] +#--- +#- hosts: game1.9iron.club +# roles: +# - role: backups +# tags: [ backups ] +# - role: minecraft +# vars: +# mcname: "botania" +# mczip: "https://www.9iron.club/files/botaniapack-1.zip" +# mcforge: "1.10.2-12.18.3.2511" +# mcmotd: "Second go-around edition" +# mcport: 25565 +# mcgamemode: 0 +# mcviewdist: 14 +# mcleveltype: "default" +# tags: [ gameserver, minecraft, botaniapack ] +# - 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: ttt +# source_args: "+gamemode terrortown +map ttt_lttp_kakariko_a4 +host_workshop_collection 2155532035" +# source_configrepo: "https://git.9iron.club/salt/gmodconfig" +# tags: [ steam, gmod ] +# tasks: +# - name: Assure Gmod CNAME record +# route53: +# state: present +# overwrite: yes +# zone: 9iron.club +# type: CNAME +# record: "{{ source_instancename }}.src.9iron.club." +# ttl: 300 +# value: [ "{{ inventory_hostname }}." ] +# become: yes +# tags: [ dns ] +# - name: Assure Minecraft CNAME record +# route53: +# state: present +# overwrite: yes +# zone: 9iron.club +# type: CNAME +# record: "{{ mcname }}.mc.9iron.club." +# ttl: 300 +# value: [ "{{ inventory_hostname }}." ] +# become: yes +# tags: [ dns ] +# - name: Assure Minecraft SRV record +# route53: +# state: present +# overwrite: yes +# zone: 9iron.club +# type: SRV +# record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}." +# ttl: 300 +# value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ] +# become: yes +# tags: [ dns ] #- hosts: game2 # roles: # - role: backups