From f77c89e858d481f8774403ce55f5ce8b35893c7b Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 4 Feb 2021 02:00:40 -0600 Subject: [PATCH] Add nightly restart job for minecraft@dammit --- playbooks/game.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/game.yml b/playbooks/game.yml index 56a620b..8936092 100755 --- a/playbooks/game.yml +++ b/playbooks/game.yml @@ -50,6 +50,10 @@ - role: minecraft tags: [ game, minecraft, paper, vanilla ] - hosts: game1.thefuck.how + tasks: + - name: restart minecraft@dammit nightly + cron: name=restart-dammit hour=5 minute=0 job="systemctl restart minecraft@dammit" disabled={{ not minecraft_enabled }} + tags: [ game, minecraft, forge, dammit, cron ] vars_files: - vars/minecraft-dammit.yml roles: