forked from mantl/mantl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.yml
75 lines (62 loc) · 1.32 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
# check security
- hosts: localhost
gather_facts: no
tasks:
- name: check for security
when: security_enabled is not defined or not security_enabled
fail:
msg: |
Security is not enabled. Please run `security-setup` in the root
directory and re-run this playbook with the `--extra-vars`/`-e` option pointing to your `security.yml` (like `-e @security.yml`)
- include: provision-openstack.yml
- hosts: all
roles:
- common
- consul-template
- docker
- dnsmasq
- nginx
- consul
- registrator
- include: playbooks/consul-join-wan.yml
- hosts: dc1:&zookeeper_servers
gather_facts: no
roles:
- zookeeper
- hosts: dc1:&mesos_leaders
gather_facts: no
roles:
- mesos
- hosts: dc1:&mesos_followers
gather_facts: no
roles:
- mesos
- hosts: dc1:&marathon_servers
gather_facts: no
roles:
- marathon
- hosts: dc2:&zookeeper_servers
gather_facts: no
roles:
- zookeeper
- hosts: dc2:&mesos_leaders
gather_facts: no
roles:
- mesos
- hosts: dc2:&mesos_followers
gather_facts: no
roles:
- mesos
- hosts: dc2:&marathon_servers
gather_facts: no
roles:
- marathon
- hosts: dc1:&proxy_servers
gather_facts: no
roles:
- haproxy
- hosts: dc2:&proxy_servers
gather_facts: no
roles:
- haproxy