-
Notifications
You must be signed in to change notification settings - Fork 8
/
symplegma-upgrade.yml
71 lines (66 loc) · 1.33 KB
/
symplegma-upgrade.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
---
- hosts: master:node
gather_facts: false
roles:
- symplegma-os_bootstrap
tags:
- bootstrap
- hosts: master:node
serial: 1
vars_files:
- defaults/main.yml
roles:
- role: symplegma-containerd
tags:
- containerd
when: container_runtime == "containerd"
- role: symplegma-crio
tags:
- crio
when: container_runtime == "crio"
- role: symplegma-cni
tags:
- cni
- role: symplegma-kubernetes_hosts
tags:
- kubernetes_hosts
- hosts: master
serial: 1
vars_files:
- defaults/main.yml
roles:
- role: symplegma-kubeadm/master
tags:
- kubeadm-master
- hosts: node
serial: 1
vars_files:
- defaults/main.yml
roles:
- role: symplegma-kubeadm/node
tags:
- kubeadm-node
- hosts: master
vars_files:
- defaults/main.yml
roles:
- role: symplegma-flannel
tags: flannel
when: cni_plugin is defined and cni_plugin == "flannel"
- hosts: win_node
serial: 1
vars_files:
- defaults/main.yml
roles:
- role: symplegma-win_docker
tags:
- win_docker
- role: symplegma-win_cni
tags:
- win_cni
- role: symplegma-win_kubernetes_hosts
tags:
- win_kubernetes_hosts
- role: symplegma-kubeadm/win_node
tags:
- kubeadm-win_node