ansible/playbooks/home_game.yml

23 lines
637 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
# Game servers
---
- hosts: vm-minecraft-1.home.mgmt.desu.ltd
pre_tasks:
- name: include tasks for gameservers
include_tasks: tasks/game/{{ item }}
with_items:
- minecraft-botaniapack2-survival.yml
- minecraft-botaniapack2-creative.yml
tags: [ always ]
roles:
- role: backup
vars:
backup_s3backup_list_extra:
- /data
- /etc
backup_s3backup_exclude_list_extra:
- /data/minecraft/botaniapack2-survival/backups
- /data/minecraft/botaniapack2-creative/backups
tags: [ backup ]