2020-12-21 03:14:15 -06:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
2021-01-18 05:31:36 -06:00
|
|
|
# Game servers
|
2020-12-21 03:14:15 -06:00
|
|
|
---
|
2021-08-01 22:28:39 -05:00
|
|
|
- hosts: tags_game
|
2021-05-11 21:16:29 -05:00
|
|
|
roles:
|
|
|
|
- role: backup
|
|
|
|
vars:
|
|
|
|
backup_s3backup_list_extra:
|
|
|
|
- /data
|
2021-05-14 09:51:32 -05:00
|
|
|
backup_s3backup_exclude_list_extra:
|
|
|
|
- /data/minecraft/valhelsia3/backups
|
2021-05-11 21:16:29 -05:00
|
|
|
tags: [ backup ]
|
|
|
|
- hosts: game1.desu.ltd
|
|
|
|
tasks:
|
2021-08-07 12:08:29 -05:00
|
|
|
- name: include tasks for gameservers
|
|
|
|
include_tasks: tasks/game/{{ task }}
|
|
|
|
with_items:
|
|
|
|
- gmod.yml
|
|
|
|
loop_control:
|
|
|
|
loop_var: task
|
|
|
|
tags: [ always ]
|
2021-03-16 21:25:01 -05:00
|
|
|
- hosts: game2.desu.ltd
|
|
|
|
tasks:
|
2021-08-07 12:08:29 -05:00
|
|
|
- name: include tasks for gameservers
|
|
|
|
include_tasks: tasks/game/{{ task }}
|
|
|
|
with_items:
|
|
|
|
- css.yml
|
|
|
|
loop_control:
|
|
|
|
loop_var: task
|
|
|
|
tags: [ always ]
|