forked from kairen/kubeadm-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.yaml
45 lines (39 loc) · 867 Bytes
/
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
---
- hosts: kube-cluster
gather_facts: yes
become: yes
roles:
- { role: docker, tags: docker }
- hosts: master
gather_facts: yes
become: yes
roles:
- { role: kubernetes/master, tags: master }
- { role: cni, tags: cni }
- hosts: node
gather_facts: yes
become: yes
roles:
- { role: kubernetes/node, tags: node }
- hosts: master
gather_facts: yes
become: yes
tasks:
- name: "Helm role"
include_role:
name: helm
when: "additional_features.helm"
run_once: yes
tags: helm
- name: "MetalLB role"
include_role:
name: metallb
when: "additional_features.metallb"
run_once: yes
tags: metallb
- name: "Healthcheck role"
include_role:
name: healthcheck
when: "additional_features.healthcheck"
run_once: yes
tags: healthcheck