-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.yaml
53 lines (46 loc) · 872 Bytes
/
setup.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
45
46
47
48
49
50
51
52
53
---
- name: Common base setup
hosts: all
remote_user: root
vars:
join_domain: false
enable_jails: [sshd]
roles:
- lpp_machine
- fail2ban
- all_machines
- name: Cluster load balancer setup
hosts: load_balancer
remote_user: root
roles:
- haproxy
- name: Cluster members base setup
hosts: all_nodes
remote_user: root
roles:
- cluster_member
- name: Create control plane
hosts: masters
remote_user: root
roles:
- masters
- name: Create control plane
hosts: main_master
remote_user: root
roles:
- main_master
- name: join control plane
hosts: secondary_masters
remote_user: root
roles:
- secondary_masters
- name: join cluster
hosts: workers
remote_user: root
roles:
- workers
- name: setup cluster basic services
hosts: main_master
remote_user: root
roles:
- cluster