-
Notifications
You must be signed in to change notification settings - Fork 27
/
inventory-example.yml
171 lines (171 loc) · 4.31 KB
/
inventory-example.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
---
all:
vars:
provision_group: pg
iso_name: rhcos-4.3.0-x86_64-installer-auto.iso
base_domain: rhv-upi.ocp.pwc.umbrella.local
dhcp_server_dns_servers: 172.16.10.11
dhcp_server_gateway: 172.16.10.254
dhcp_server_subnet_mask: 255.255.255.0
dhcp_server_subnet: 172.16.10.0
load_balancer_ip: 172.16.10.114
ipa_validate_certs: yes
installation_directory: /home/chris/git/openshift4-rhv-upi/local/install/rhv-upi
children:
webserver:
hosts:
lb.rhv-upi.ocp.pwc.umbrella.local:
httpd_port: 8888
loadbalancer:
hosts:
lb.rhv-upi.ocp.pwc.umbrella.local:
pg:
hosts:
bootstrap:
rhv_cluster: "r710s"
ip: 172.16.10.150
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
# mac_address: You can provide specific MAC address here
master0:
rhv_cluster: "r710s"
etcd_name: etcd-0
ip: 172.16.10.151
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
master1:
rhv_cluster: "r710s"
etcd_name: etcd-1
ip: 172.16.10.152
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
master2:
rhv_cluster: "r710s"
etcd_name: etcd-2
ip: 172.16.10.153
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
worker0:
rhv_cluster: "r710s"
ip: 172.16.10.154
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
worker1:
rhv_cluster: "r710s"
ip: 172.16.10.155
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
worker2:
rhv_cluster: "r710s"
ip: 172.16.10.156
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio
worker3:
rhv_cluster: "r710s"
ip: 172.16.10.157
memory: 24GiB
sockets: 1
cores: 4
iso: "{{ iso_name }}"
disks:
- name: os
bootable: yes
size: 140GiB
format: cow
interface: virtio_scsi
storage_domain: nfs-vms
nics:
- name: eth0
network: lab
interface: virtio