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 - hosts: game1.thefuck.how
vars_files: vars_files:
- vars/factorio-main.yml - vars/factorio-main.yml
- vars/minecraft-valhelsia.yml
roles: roles:
- role: backup - role: backup
vars: vars:
@ -26,8 +25,6 @@
- minecraft@valhelsia - minecraft@valhelsia
- minecraft@vanilla - minecraft@vanilla
tags: [ motd ] tags: [ motd ]
- role: minecraft
tags: [ game, minecraft, forge, valhelsia ]
- role: factorio - role: factorio
vars: vars:
server_version: 1.0.0 server_version: 1.0.0
@ -43,12 +40,26 @@
lan: false lan: false
admins: [ "rehashed_salt" ] admins: [ "rehashed_salt" ]
tags: [ game, factorio ] tags: [ game, factorio ]
# Vanilla Ice
# Note that this one doesn't get a nightly restart job because Paper is awesome
- hosts: game1.thefuck.how - hosts: game1.thefuck.how
vars_files: vars_files:
- vars/minecraft-vanilla.yml - vars/minecraft-vanilla.yml
roles: roles:
- role: minecraft - role: minecraft
tags: [ game, minecraft, paper, vanilla ] 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 - hosts: game1.thefuck.how
tasks: tasks:
- name: restart minecraft@dammit nightly - name: restart minecraft@dammit nightly