-
Notifications
You must be signed in to change notification settings - Fork 4
/
start_platform.yml
85 lines (80 loc) · 1.69 KB
/
start_platform.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
76
77
78
79
80
81
82
83
84
85
---
- hosts: hadoop
gather_facts: no
remote_user: ubuntu
become: true
vars_files:
- vars/common_vars.yml
- vars/minio_vars.yml
- vars/hadoop_vars.yml
environment:
JAVA_HOME: "{{ java_home }}"
HADOOP_LOG_DIR: "{{ hadoop_log_dir }}"
HADOOP_CONF_DIR: "{{ hadoop_conf_dir }}"
tasks:
- include: roles/hadoop/tasks/start-hadoop.yml
tags:
- hadoop
- hosts: minio
gather_facts: no
remote_user: ubuntu
become: true
vars_files:
- vars/minio_vars.yml
tasks:
- include: roles/minio/tasks/start-minio.yml
tags:
- minio
- hosts: spark
gather_facts: no
remote_user: ubuntu
become: true
vars_files:
- vars/common_vars.yml
- vars/minio_vars.yml
- vars/hadoop_vars.yml
- vars/spark_vars.yml
environment:
JAVA_HOME: "{{ java_home }}"
HADOOP_LOG_DIR: "{{ hadoop_log_dir }}"
HADOOP_CONF_DIR: "{{ hadoop_conf_dir }}"
tasks:
- include: roles/spark/tasks/start-spark.yml
tags:
- spark
- hosts: cassandra
gather_facts: no
remote_user: ubuntu
become: true
vars_files:
- vars/common_vars.yml
- vars/spark_vars.yml
- vars/cassandra_vars.yml
environment:
JAVA_HOME: "{{ java_home }}"
tasks:
- include: roles/cassandra/tasks/start-cassandra.yml
tags:
- cassandra
- hosts: dask
gather_facts: yes
remote_user: ubuntu
become: true
vars_files:
- vars/common_vars.yml
- vars/dask_vars.yml
tasks:
- include: roles/dask/tasks/start-dask.yml
tags:
- dask
- hosts: jupyterhub
gather_facts: no
remote_user: ubuntu
become: true
vars_files:
- vars/spark_vars.yml
- vars/jupyterhub_vars.yml
tasks:
- include: roles/jupyterhub/tasks/start-jupyterhub.yml
tags:
- jupyterhub