#!/usr/bin/env ansible-playbook # vim:ft=ansible: # Game servers --- - hosts: tags_game roles: - role: backup vars: backup_s3backup_list_extra: - /data backup_s3backup_exclude_list_extra: - /data/minecraft/valhelsia3/backups tags: [ backup ] - hosts: game1.desu.ltd tasks: - name: include tasks for gameservers include_tasks: tasks/game/{{ task }} with_items: - gmod.yml loop_control: loop_var: task tags: [ always ] - hosts: game2.desu.ltd tasks: - name: include tasks for gameservers include_tasks: tasks/game/{{ task }} with_items: - css.yml loop_control: loop_var: task tags: [ always ]