Add nightly restart job for minecraft@dammit

This commit is contained in:
Salt 2021-02-04 02:00:40 -06:00
parent 465f58eb5f
commit f77c89e858

View File

@ -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: