Reorganize playbook for game1.thefuck.how

This commit is contained in:
Salt 2021-02-04 02:02:00 -06:00
parent f77c89e858
commit 82d5db4a11

View File

@ -5,7 +5,6 @@
- hosts: game1.thefuck.how
vars_files:
- vars/factorio-main.yml
- vars/minecraft-valhelsia.yml
roles:
- role: backup
vars:
@ -26,8 +25,6 @@
- minecraft@valhelsia
- minecraft@vanilla
tags: [ motd ]
- role: minecraft
tags: [ game, minecraft, forge, valhelsia ]
- role: factorio
vars:
server_version: 1.0.0
@ -43,12 +40,26 @@
lan: false
admins: [ "rehashed_salt" ]
tags: [ game, factorio ]
# Vanilla Ice
# Note that this one doesn't get a nightly restart job because Paper is awesome
- hosts: game1.thefuck.how
vars_files:
- vars/minecraft-vanilla.yml
roles:
- role: minecraft
tags: [ game, minecraft, paper, vanilla ]
# Valhelsia
- hosts: game1.thefuck.how
tasks:
- name: restart minecraft@valhelsia nightly
cron: name=restart-valhelsia hour=5 minute=0 job="systemctl restart minecraft@valhelsia" disabled={{ not minecraft_enabled }}
tags: [ game, minecraft, forge, valhelsia, cron ]
vars_files:
- vars/minecraft-valhelsia.yml
roles:
- role: minecraft
tags: [ game, minecraft, forge, valhelsia ]
# The Magic Pack
- hosts: game1.thefuck.how
tasks:
- name: restart minecraft@dammit nightly