-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.yml
59 lines (55 loc) · 1.6 KB
/
inventory.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
ungrouped:
hosts:
udm:
ansible_host: 192.168.1.1
rpi4:
ansible_host: 192.168.1.10
ansible_user: "{{ inventory_hosts.rpi4.user }}"
ansible_password: "{{ inventory_hosts.rpi4.password }}"
tpi2:
ansible_host: 192.168.1.100
rpi3:
ansible_host: 192.168.1.105
ansible_user: "{{ inventory_hosts.rpi3.user }}"
ansible_password: "{{ inventory_hosts.rpi3.password }}"
tpi2_rpi_cm4:
hosts:
rpi-cm4-1:
ansible_host: 192.168.1.101
ansible_user: "{{ inventory_hosts.rpi_cm4_1.user }}"
ansible_password: "{{ inventory_hosts.rpi_cm4_1.password }}"
node_number: 1
rpi-cm4-2:
ansible_host: 192.168.1.102
ansible_user: "{{ inventory_hosts.rpi_cm4_2.user }}"
ansible_password: "{{ inventory_hosts.rpi_cm4_2.password }}"
node_number: 2
rpi-cm4-3:
ansible_host: 192.168.1.103
ansible_user: "{{ inventory_hosts.rpi_cm4_3.user }}"
ansible_password: "{{ inventory_hosts.rpi_cm4_3.password }}"
node_number: 3
rpi-cm4-4:
ansible_host: 192.168.1.104
ansible_user: "{{ inventory_hosts.rpi_cm4_4.user }}"
ansible_password: "{{ inventory_hosts.rpi_cm4_4.password }}"
node_number: 4
k3s_cluster_server:
hosts:
rpi-cm4-1:
k3s_control_node: true
node_type: local
k3s_cluster_agent:
hosts:
rpi-cm4-2:
node_type: local
rpi-cm4-3:
node_type: local
rpi-cm4-4:
node_type: local
rpi3:
node_type: remote
k3s_cluster:
children:
k3s_cluster_server:
k3s_cluster_agent: