-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathdcos.yml
47 lines (42 loc) · 900 Bytes
/
dcos.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
---
- name: Wait for instances to become reachable
hosts: all
gather_facts: no
tasks:
- name: Wait for instances to become reachable
wait_for_connection:
delay: 10
sleep: 10
timeout: 120
- name: Collect DC/OS versions
hosts: all
tasks:
- name: Collect DC/OS versions
setup:
- name: DC/OS Requirements
hosts: all
become: true
tasks:
- include_role:
name: dcos_requirements
- include_role:
name: dcos_gpu
- name: "Setup and configure BOOTSTRAP nodes"
hosts: bootstraps
become: true
tasks:
- include_role:
name: dcos_bootstrap
- name: "Setup and configure MASTER nodes"
hosts: masters
serial: 1
become: true
tasks:
- include_role:
name: dcos_master
- name: "Setup and configure AGENT nodes"
hosts: agents
become: true
tasks:
- include_role:
name: dcos_agent