Compare commits
No commits in common. "18c08bcbec9db5bc5ff8f7d484309e409d6e7aee" and "ddd0b4bfce2d3cf1abfc203a1c4bd969b93bf38d" have entirely different histories.
18c08bcbec
...
ddd0b4bfce
@ -54,4 +54,5 @@ all:
|
||||
web2.desu.ltd:
|
||||
game:
|
||||
hosts:
|
||||
game1.desu.ltd:
|
||||
game2.desu.ltd:
|
||||
|
@ -2,6 +2,78 @@
|
||||
# vim:ft=ansible:
|
||||
# Game servers
|
||||
---
|
||||
- hosts: game1.desu.ltd
|
||||
vars_files:
|
||||
- vars/factorio-main.yml
|
||||
roles:
|
||||
- role: backup
|
||||
vars:
|
||||
backup_s3backup_list_extra:
|
||||
- /data
|
||||
- /opt/minecraft/dammit
|
||||
- /opt/minecraft/valhelsia
|
||||
- /opt/minecraft/vanilla
|
||||
- /opt/factorio
|
||||
backup_s3backup_exclude_list_extra:
|
||||
- /opt/minecraft/dammit/backups
|
||||
- /opt/minecraft/valhelsia/backups
|
||||
- /opt/minecraft/vanilla/backups
|
||||
tags: [ backup ]
|
||||
- role: docker
|
||||
tags: [ docker, skip-pull ]
|
||||
- role: motd
|
||||
vars:
|
||||
motd_watch_services_extra:
|
||||
- docker
|
||||
- minecraft@dammit
|
||||
- minecraft@valhelsia
|
||||
- minecraft@vanilla
|
||||
tags: [ motd ]
|
||||
- role: factorio
|
||||
vars:
|
||||
server_version: 1.0.0
|
||||
download_checksum: sha256:81d9e1aa94435aeec4131c8869fa6e9331726bea1ea31db750b65ba42dbd1464
|
||||
service_name: factorio-main
|
||||
service_root: /opt/factorio/main
|
||||
factorio_server_settings:
|
||||
name: "Krabby Land"
|
||||
description: "Where a kid can have fun"
|
||||
max_players: 8
|
||||
visibility:
|
||||
public: false
|
||||
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.desu.ltd
|
||||
vars_files:
|
||||
- vars/minecraft-vanilla.yml
|
||||
roles:
|
||||
- role: minecraft
|
||||
tags: [ game, minecraft, paper, vanilla ]
|
||||
# Valhelsia
|
||||
- hosts: game1.desu.ltd
|
||||
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.desu.ltd
|
||||
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:
|
||||
- role: minecraft
|
||||
tags: [ game, minecraft, forge, dammit ]
|
||||
- hosts: game2.desu.ltd
|
||||
vars:
|
||||
container_default_behavior: no_defaults
|
||||
|
3
playbooks/vars/netdata.yml
Normal file
3
playbooks/vars/netdata.yml
Normal file
@ -0,0 +1,3 @@
|
||||
# vim:ft=ansible:
|
||||
netdata_git_version_tag: v1.28.0
|
||||
netdata_hostname: "{{ inventory_hostname }}"
|
Loading…
Reference in New Issue
Block a user