-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
35 lines (31 loc) · 1.09 KB
/
site.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
---
# Site Configuration
# ==================
- hosts: zookeepers
user: root
roles:
- { role: common, tags: ["common"] }
- { role: zookeeper, tags: ["zookeeper"] }
- { role: consul, consul_install_mode: "server", tags: ["server"] }
- { role: postwork, cluster: "zookeeper", tags: ["postwork"] }
- hosts: mesos_masters
user: root
roles:
- { role: common, tags: ["common"] }
- { role: marathon, tags: ["marathon"] }
- { role: mesos, mesos_install_mode: "master", tags: ["master"] }
- { role: consul, consul_install_mode: "agent", tags: ["agent"] }
- { role: postwork, cluster: "mesos-master", tags: ["postwork"] }
- hosts: nginxs
user: root
roles:
- { role: common, tags: ["common"] }
- { role: nginx, tags: ["nginx"] }
- hosts: mesos_slaves
user: root
roles:
- { role: common, tags: ["common"] }
- { role: mesos, mesos_install_mode: "slave", tags: ["slave"] }
- { role: docker, tags: ["docker"] }
- { role: consul, consul_install_mode: "agent", tags: ["agent"] }
- { role: postwork, cluster: "mesos-slave", tags: ["postwork"] }