-
Notifications
You must be signed in to change notification settings - Fork 1
/
playbook-BaNG.yml
37 lines (34 loc) · 1.15 KB
/
playbook-BaNG.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
- hosts: bang
vars_files:
- [ "group_vars/all.yml", "group_vars/all.yml.example" ]
- [ "group_vars/bangdb.yml", "group_vars/bangdb.yml.example" ]
- "host_vars/{{ inventory_hostname}}.yml"
roles:
- { role: debug, tags: debug }
- { role: bang, tags: bang }
- { role: bangdb, tags: bangdb }
handlers:
- import_tasks: handlers/services.yml
- hosts: bangweb:bangweb-vagrant
vars_files:
- [ "group_vars/all.yml", "group_vars/all.yml.example" ]
- [ "group_vars/bangweb.yml", "group_vars/bangweb.yml.example" ]
- "host_vars/{{ inventory_hostname}}.yml"
roles:
- { role: bangweb, tags: bangweb }
handlers:
- import_tasks: handlers/services.yml
- hosts: bangdb
vars_files:
- [ "group_vars/all.yml", "group_vars/all.yml.example" ]
- [ "group_vars/bangdb.yml", "group_vars/bangdb.yml.example" ]
- "host_vars/{{ inventory_hostname}}.yml"
roles:
- { role: bangdb, tags: bangdb }
handlers:
- import_tasks: handlers/services.yml
- hosts: bangweb-vagrant
roles:
- { role: bangweb-vagrant, tags: bangweb-vagrant }
handlers:
- import_tasks: handlers/services.yml