-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathvariables_sample.yml
More file actions
180 lines (178 loc) · 11 KB
/
Copy pathvariables_sample.yml
File metadata and controls
180 lines (178 loc) · 11 KB
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
172
173
174
175
176
177
178
179
180
---
Global:
Workingdir: "{{ lookup('env','HOME') }}/ubuntu-autoinstall" # Temp directory on the Ansible Controller
UbuntuISO: jammy-live-server-amd64.iso # Ubuntu ISO filename
UbuntuISO_URL: https://cdimage.ubuntu.com/ubuntu-server/jammy/daily-live/current/ # Ubuntu ISO URL
ISODatastore: ComputeA_vSAN # The vSphere Datastore where the Ubuntu ISO will be stored
ISODatastoreDir: /ISO # The vSphere Datastore directory where the Ubuntu ISO will be stored. This directory is created if it doesn't exist.
ISODatacenter: Pod-210-DataCenter # The vSphere Datacenter to which the vSphere ISODatastore belongs
vCenter:
FQDN: pod-210-vcenter.sddc.lab # vCenter FQDN
User: administrator@vsphere.local # vCenter Username
Password: VMware1! # vCenter Password
VMsToDeploy:
- Name: ubuntu-server01 # The VM's name
Deploy: true # If set to "true" the VM is deployed
Placement:
Datacenter: Pod-210-DataCenter # The VM's vCenter Datacenter
Cluster: ComputeA # The VM's vSphere Cluster
Datastore: ComputeA_vSAN # The VM's vSphere datastore
Folder: / # The VM's vCenter VM folder
Configuration:
VM:
GuestID: ubuntu64Guest # The VM's Guest OS ID
PowerState: poweredon # The VM's Power State
Storage:
DiskSize: 50 # The VM's disksize in GB
DiskType: thin # The VM's Disk Type
SCSIController: paravirtual # The VM's SCSI Adapter
Compute:
MemorySize: 2048 # The VM's memory size in MB
CPUs: 1 # The VM's number of CPUs
Cores: 1 # The VM's number of Cores
Network:
Portgroup: VMNetwork # The VM's vSphere Portgroup
NetworkAdapter: vmxnet3 # The VM's Network Adapter
OS:
User: ubuntu # Ubuntu OS username
Password: VMware1! # Ubuntu OS password
Hostname: ubuntu-server01 # Ubuntu OS hostname
Locale: en_US # Ubuntu OS locale
Keyboardlayout: us # Ubuntu OS keyboard layout
Keyboardvariant: intl # Ubuntu OS keyboard variant
IPv4Address: 10.203.219.11/24 # Ubuntu OS IPv4 address
IPv4Gateway: 10.203.0.1 # Ubuntu OS IPv4 gateway
IPv4DNS: 10.203.0.5 # Ubuntu OS DNS server
SearchDomain: sddc.lab # Ubuntu OS DNS search domain
- Name: ubuntu-server02 # The VM's name
Deploy: false # If set to "true" the VM is deployed
Placement:
Datacenter: Pod-210-DataCenter # The VM's vCenter Datacenter
Cluster: ComputeA # The VM's vSphere Cluster
Datastore: ComputeA_vSAN # The VM's vSphere datastore
Folder: / # The VM's vCenter VM folder
Configuration:
VM:
GuestID: ubuntu64Guest # The VM's Guest OS ID
PowerState: poweredon # The VM's Power State
Storage:
DiskSize: 50 # The VM's disksize in GB
DiskType: thin # The VM's Disk Type
SCSIController: paravirtual # The VM's SCSI Adapter
Compute:
MemorySize: 2048 # The VM's memory size in MB
CPUs: 1 # The VM's number of CPUs
Cores: 1 # The VM's number of Cores
Network:
Portgroup: VMNetwork # The VM's vSphere Portgroup
NetworkAdapter: vmxnet3 # The VM's Network Adapter
OS:
User: ubuntu # Ubuntu OS username
Password: VMware1! # Ubuntu OS password
Hostname: ubuntu-server02 # Ubuntu OS hostname
Locale: en_US # Ubuntu OS locale
Keyboardlayout: us # Ubuntu OS keyboard layout
Keyboardvariant: intl # Ubuntu OS keyboard variant
IPv4Address: 10.203.219.12/24 # Ubuntu OS IPv4 address
IPv4Gateway: 10.203.0.1 # Ubuntu OS IPv4 gateway
IPv4DNS: 10.203.0.5 # Ubuntu OS DNS server
SearchDomain: sddc.lab # Ubuntu OS DNS search domain
- Name: ubuntu-server03 # The VM's name
Deploy: false # If set to "true" the VM is deployed
Placement:
Datacenter: Pod-210-DataCenter # The VM's vCenter Datacenter
Cluster: ComputeA # The VM's vSphere Cluster
Datastore: ComputeA_vSAN # The VM's vSphere datastore
Folder: / # The VM's vCenter VM folder
Configuration:
VM:
GuestID: ubuntu64Guest # The VM's Guest OS ID
PowerState: poweredon # The VM's Power State
Storage:
DiskSize: 50 # The VM's disksize in GB
DiskType: thin # The VM's Disk Type
SCSIController: paravirtual # The VM's SCSI Adapter
Compute:
MemorySize: 2048 # The VM's memory size in MB
CPUs: 1 # The VM's number of CPUs
Cores: 1 # The VM's number of Cores
Network:
Portgroup: VMNetwork # The VM's vSphere Portgroup
NetworkAdapter: vmxnet3 # The VM's Network Adapter
OS:
User: ubuntu # Ubuntu OS username
Password: VMware1! # Ubuntu OS password
Hostname: ubuntu-server03 # Ubuntu OS hostname
Locale: en_US # Ubuntu OS locale
Keyboardlayout: us # Ubuntu OS keyboard layout
Keyboardvariant: intl # Ubuntu OS keyboard variant
IPv4Address: 10.203.219.13/24 # Ubuntu OS IPv4 address
IPv4Gateway: 10.203.0.1 # Ubuntu OS IPv4 gateway
IPv4DNS: 10.203.0.5 # Ubuntu OS DNS server
SearchDomain: sddc.lab # Ubuntu OS DNS search domain
- Name: ubuntu-server04 # The VM's name
Deploy: false # If set to "true" the VM is deployed
Placement:
Datacenter: Pod-210-DataCenter # The VM's vCenter Datacenter
Cluster: ComputeA # The VM's vSphere Cluster
Datastore: ComputeA_vSAN # The VM's vSphere datastore
Folder: / # The VM's vCenter VM folder
Configuration:
VM:
GuestID: ubuntu64Guest # The VM's Guest OS ID
PowerState: poweredon # The VM's Power State
Storage:
DiskSize: 50 # The VM's disksize in GB
DiskType: thin # The VM's Disk Type
SCSIController: paravirtual # The VM's SCSI Adapter
Compute:
MemorySize: 2048 # The VM's memory size in MB
CPUs: 1 # The VM's number of CPUs
Cores: 1 # The VM's number of Cores
Network:
Portgroup: VMNetwork # The VM's vSphere Portgroup
NetworkAdapter: vmxnet3 # The VM's Network Adapter
OS:
User: ubuntu # Ubuntu OS username
Password: VMware1! # Ubuntu OS password
Hostname: ubuntu-server04 # Ubuntu OS hostname
Locale: en_US # Ubuntu OS locale
Keyboardlayout: us # Ubuntu OS keyboard layout
Keyboardvariant: intl # Ubuntu OS keyboard variant
IPv4Address: 10.203.219.14/24 # Ubuntu OS IPv4 address
IPv4Gateway: 10.203.0.1 # Ubuntu OS IPv4 gateway
IPv4DNS: 10.203.0.5 # Ubuntu OS DNS server
SearchDomain: sddc.lab # Ubuntu OS DNS search domain
- Name: ubuntu-server05 # The VM's name
Deploy: false # If set to "true" the VM is deployed
Placement:
Datacenter: Pod-210-DataCenter # The VM's vCenter Datacenter
Cluster: ComputeA # The VM's vSphere Cluster
Datastore: ComputeA_vSAN # The VM's vSphere datastore
Folder: / # The VM's vCenter VM folder
Configuration:
VM:
GuestID: ubuntu64Guest # The VM's Guest OS ID
PowerState: poweredon # The VM's Power State
Storage:
DiskSize: 50 # The VM's disksize in GB
DiskType: thin # The VM's Disk Type
SCSIController: paravirtual # The VM's SCSI Adapter
Compute:
MemorySize: 2048 # The VM's memory size in MB
CPUs: 1 # The VM's number of CPUs
Cores: 1 # The VM's number of Cores
Network:
Portgroup: VMNetwork # The VM's vSphere Portgroup
NetworkAdapter: vmxnet3 # The VM's Network Adapter
OS:
User: ubuntu # Ubuntu OS username
Password: VMware1! # Ubuntu OS password
Hostname: ubuntu-server05 # Ubuntu OS hostname
Locale: en_US # Ubuntu OS locale
Keyboardlayout: us # Ubuntu OS keyboard layout
Keyboardvariant: intl # Ubuntu OS keyboard variant
IPv4Address: 10.203.219.15/24 # Ubuntu OS IPv4 address
IPv4Gateway: 10.203.0.1 # Ubuntu OS IPv4 gateway
IPv4DNS: 10.203.0.5 # Ubuntu OS DNS server
SearchDomain: sddc.lab # Ubuntu OS DNS search domain