-
Notifications
You must be signed in to change notification settings - Fork 3
/
kubernetes.yml
54 lines (47 loc) · 871 Bytes
/
kubernetes.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
- hosts: all
roles:
- role: preinstall
gather_facts: yes
any_errors_fatal: true
tags: [preinstall]
- hosts: k8s
roles:
- role: k8s
gather_facts: yes
any_errors_fatal: true
tags: [k8s]
- hosts: k8s
roles:
- role: init_k8s
gather_facts: yes
any_errors_fatal: true
tags: [init_k8s]
- hosts: k8s_masters
roles:
- role: preinstall
- role: k8s
- role: join_master
gather_facts: yes
any_errors_fatal: true
tags: [join_master]
- hosts: k8s_workers
roles:
- role: preinstall
- role: k8s
- role: join_worker
gather_facts: yes
any_errors_fatal: true
tags: [join_worker]
- hosts: lb
roles:
- role: preinstall
- role: lb
gather_facts: yes
any_errors_fatal: true
tags: [lb]
- hosts: all
roles:
- role: postinstall
gather_facts: yes
any_errors_fatal: true
tags: [postinstall]