forked from openminted/omtd-stack-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yaml
55 lines (49 loc) · 1.17 KB
/
site.yaml
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
- hosts: all
remote_user: root
gather_facts: no
tasks:
- name: Install python
raw: "apt-get update -y && apt-get install {{ python_package }} -y"
when: install_python
- hosts: docker_registry
remote_user: root
roles:
- lexrus.ansible-role-docker
- role: docker-registry
- geerlingguy.apache
- hosts: cluster_master
remote_user: root
roles:
- role: mesos-master
- role: chronos
- hosts: cluster_nodes
remote_user: root
pre_tasks:
- set_fact:
data_share: "{{ hostvars[groups['executor'][0]].data_share }}"
roles:
- lexrus.ansible-role-docker
- role: mesos-slaves
- role: nfs-cluster-clients
- role: prometheus-node-exporter
- role: cadvisor
- hosts: executor
remote_user: root
roles:
- lexrus.ansible-role-docker
- role: executor
- role: nfs
- geerlingguy.apache
- hosts: monitor
remote_user: root
roles:
- geerlingguy.apache
- role: prometheus
- hosts: editor
remote_user: root
pre_tasks:
- set_fact:
tools_share: "{{ hostvars[groups['executor'][0]].tools_share }}"
roles:
- role: editor
- geerlingguy.apache