From 82d5db4a11b644d4605d1f1550cb5f0cb5d41dc5 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 4 Feb 2021 02:02:00 -0600 Subject: [PATCH] Reorganize playbook for game1.thefuck.how --- playbooks/game.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/playbooks/game.yml b/playbooks/game.yml index 8936092..b4b006e 100755 --- a/playbooks/game.yml +++ b/playbooks/game.yml @@ -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