23 lines
494 B
YAML
23 lines
494 B
YAML
|
#!/usr/bin/env ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
# Webservers
|
||
|
---
|
||
|
- hosts: vm-bot-1.home.mgmt.desu.ltd
|
||
|
module_defaults:
|
||
|
docker_container:
|
||
|
state: started
|
||
|
restart_policy: unless-stopped
|
||
|
pull: yes
|
||
|
tasks:
|
||
|
- name: include tasks for applications
|
||
|
include_tasks: tasks/{{ item }}
|
||
|
with_items:
|
||
|
- app/gulagbot.yml
|
||
|
tags: [ always ]
|
||
|
roles:
|
||
|
- role: backup
|
||
|
vars:
|
||
|
backup_s3backup_list_extra:
|
||
|
- /data
|
||
|
tags: [ backup ]
|