ansible/playbooks/home_game.yml

55 lines
1.5 KiB
YAML
Raw Normal View History

2021-12-20 17:24:11 -06:00
#!/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
2021-12-20 17:24:11 -06:00
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
2021-12-20 17:24:11 -06:00
tags: [ backup ]
2022-01-28 18:37:07 -06:00
- hosts: vm-minecraft-2.home.mgmt.desu.ltd
pre_tasks:
- name: include tasks for gameservers
include_tasks: tasks/game/{{ item }}
with_items:
- minecraft-enigmatica6.yml
tags: [ always ]
roles:
- role: backup
vars:
backup_s3backup_list_extra:
- /data
- /etc
backup_s3backup_exclude_list_extra:
- /data/minecraft/enigmatica6/backups
tags: [ backup ]
2022-01-12 15:14:30 -06:00
- hosts: vm-terraria-1.home.mgmt.desu.ltd
pre_tasks:
- name: include tasks for gameservers
include_tasks: tasks/game/{{ item }}
with_items:
- terraria-thorium.yml
tags: [ always ]
roles:
- role: backup
vars:
backup_s3backup_list_extra:
- /data
- /etc
backup_s3backup_exclude_list_extra:
- /data/terraria-thorium/backups
tags: [ backup ]