-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathmain.yml
More file actions
571 lines (494 loc) · 19.6 KB
/
main.yml
File metadata and controls
571 lines (494 loc) · 19.6 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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
---
# defaults file for ansible-vsphere-management
_vsphere_ad_netbios_name: "{{ pri_domain_name.split('.') }}"
vsphere_ad_dns_domain_name: "{{ vsphere_ad_netbios_name|lower }}.{{ vsphere_pri_domain_name }}"
vsphere_ad_domain_secure_password_file: c:\tmp\ad_domain_pwd.txt
vsphere_ad_netbios_name: "{{ _vsphere_ad_netbios_name[0] }}"
vsphere_ad_password: "{{ vsphere_samba_ad_password }}"
vsphere_ad_user: "{{ vsphere_samba_ad_user }}"
# Defines initial bootstrap vms to deploy from OVA/OVF. Currently this OVF
# needs to reside on the Windows host which powercli is being ran against.
#
# If a static IP address is desired define the following
# (Enter shorthand cidr for netmask_cidr, i.e. 24 for 255.255.255.0):
##
## ip: x.x.x.x
## netmask_cidr: x
## gateway: x.x.x.x
##
# Defines core services bootstrap vms
# reference vsphere_vm_services_groups as well
vsphere_bootstrap_vms: []
# - vm_name: bootstrap-vm-1.{{ vsphere_pri_domain_name }}
# cpus: "{{ vsphere_bootstrap_vms_cpu }}"
# deploy: "{{ vsphere_bootstrap_vms_deploy }}"
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_vm_services_subnet }}.101"
# memory_mb: "{{ vsphere_bootstrap_vms_memory }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: bootstrap-vm-2.{{ vsphere_pri_domain_name }}
# cpus: "{{ vsphere_bootstrap_vms_cpu }}"
# deploy: "{{ vsphere_bootstrap_vms_deploy }}"
# datastore: "{{ vsphere_vm_services_datastore }}"
# memory_mb: "{{ vsphere_bootstrap_vms_memory }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
vsphere_bootstrap_vms_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_bootstrap_vms.inv"
vsphere_bootstrap_vms_json_output_file: "{{ vsphere_inventory_directory }}/vsphere_bootstrap_vms.json"
# This file will contain the encrypted password to use with the boostrap_vms.ps1 script
vsphere_bootstrap_vms_secure_password_file: c:\tmp\pwd.txt
vsphere_bootstrap_vms_wait_for_ssh: "{{ vsphere_vms_wait_for_ssh }}"
# These define the IP addresses for the DDI VMs
vsphere_ddi_vm_ips: []
# - "{{ vsphere_vm_services_subnet }}.10"
# - "{{ vsphere_vm_services_subnet }}.11"
# - "{{ vsphere_vm_services_subnet }}.12"
# Defines core services ddi vms
# reference vsphere_vm_services_groups as well
vsphere_ddi_vms: []
# - vm_name: "ddi-00.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_ddi_vm_ips[0] }}"
# memory_mb: 2048
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: "ddi-01.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_ddi_vm_ips[1] }}"
# memory_mb: 2048
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: "ddi-02.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_ddi_vm_ips[2] }}"
# memory_mb: 2048
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# Define Ansible group which contains your DDI VMs
vsphere_ddi_vms_group: vsphere_ddi_vms
vsphere_ddi_vms_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_ddi_vms.inv"
vsphere_ddi_vms_json_output_file: "{{ vsphere_inventory_directory }}/vsphere_ddi_vms.json"
vsphere_ddi_vms_wait_for_ssh: "{{ vsphere_vms_wait_for_ssh }}"
# Defines if VMs defined as not defined to deploy to be destroyed
# reference vsphere_vm_services_groups as well
# Good for keeping environment in a defined state
# references tasks/destroy_vms.yml
vsphere_destroy_vms: false
vsphere_destroy_vms_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_destroy_vms.inv"
vsphere_dhcp_servers_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_dhcp_vms.inv"
# Define Ansible group which contains your DHCP VMs
vsphere_dhcp_vms_group: vsphere_dhcp_vms
# These should be defined as the DNSDist VM IPs
vsphere_dns_servers: []
# - "{{ vsphere_dnsdist_vm_ips[0] }}"
# - "{{ vsphere_dnsdist_vm_ips[1] }}"
# These define the IP addresses for the DNSDist VMs
vsphere_dnsdist_vm_ips: []
# - "{{ vsphere_vm_services_subnet }}.40"
# - "{{ vsphere_vm_services_subnet }}.41"
# Defines core services dnsdist vms
# reference vsphere_vm_services_groups as well
vsphere_dnsdist_vms: []
# - vm_name: "dnsdist-00.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_dnsdist_vm_ips[0] }}"
# memory_mb: 1024
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: "dnsdist-01.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_dnsdist_vm_ips[1] }}"
# memory_mb: 1024
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
vsphere_dnsdist_vms_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_dnsdist_vms.inv"
vsphere_dnsdist_vms_json_output_file: "{{ vsphere_inventory_directory }}/vsphere_dnsdist_vms.json"
vsphere_dnsdist_vms_wait_for_ssh: "{{ vsphere_vms_wait_for_ssh }}"
# Define this on a host_vars or group_vars level. Because we look for hostvars
# variable the default variable defined here does not apply.
vsphere_enable_software_iscsi: false
# Defines whether host_vars should be generated
vsphere_generate_host_vars: false
#vSphere Host Info
# Reference inventory/group_vars/all/vsphere_hosts.yml
vsphere_host_mgmt_subnet: []
vsphere_host_mgmt_subnetmask: []
vsphere_host_mgmt_vlan_id: []
vsphere_host_vmotion_subnet: []
vsphere_host_vmotion_subnetmask: []
vsphere_host_vmotion_vlan_id: []
# Define vSphere hosts and relevant info
# This information is used to generate a dynamic group vsphere_hosts as well as
# generate an inventory file for the hosts.
vsphere_hosts: []
# - hostname: "esxi-01.{{ vsphere_pri_domain_name }}"
# mgmt_ip: "{{ vsphere_host_mgmt_subnet }}.61"
# mgmt_subnetmask: "{{ vsphere_host_mgmt_subnetmask }}"
# vmotion_ip: "{{ vsphere_host_vmotion_subnet }}.61"
# vmotion_subnetmask: "{{ vsphere_host_vmotion_subnetmask }}"
# - hostname: "esxi-02.{{ vsphere_pri_domain_name }}"
# mgmt_ip: "{{ vsphere_host_mgmt_subnet }}.62"
# mgmt_subnetmask: "{{ vsphere_host_mgmt_subnetmask }}"
# vmotion_ip: "{{ vsphere_host_vmotion_subnet }}.62"
# vmotion_subnetmask: "{{ vsphere_host_vmotion_subnetmask }}"
# Defines if vSphere hosts should have SSH enabled or not
vsphere_hosts_enable_ssh: false
vsphere_hosts_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_hosts.inv"
# Defines if vSphere hosts should be updated
vsphere_hosts_update: false
# Defines if hosts should be joined to domain
vsphere_hosts_join_domain: false
# Defines inventory directory
vsphere_inventory_directory: ../inventory
# Define any iSCSI Targets for Software iSCSI adapter
vsphere_iscsi_targets: []
# - 10.0.101.50
vsphere_lb_vips: []
# - 10.0.101.100
# Defines core services load balancer vms
# reference vsphere_vm_services_groups as well
vsphere_lb_vms: []
# - vm_name: "lb-00.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_vm_services_subnet }}.20"
# memory_mb: 1024
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: "lb-01.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_vm_services_subnet }}.21"
# memory_mb: 1024
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# Define Ansible group which contains your LB VMs
vsphere_lb_vms_group: vsphere_lb_vms
vsphere_lb_vms_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_lb_vms.inv"
vsphere_lb_vms_json_output_file: "{{ vsphere_inventory_directory }}/vsphere_lb_vms.json"
vsphere_lb_vms_wait_for_ssh: "{{ vsphere_vms_wait_for_ssh }}"
# Defines the OVF template to deploy VMs from
vsphere_linux_vapp_ovf: C:\vagrant\vApps\ubuntu_16.04_template.ovf
vsphere_linux_vapp_template_name: ubuntu-16.04-template
vsphere_maintenance_mode: false
vsphere_management_invalid_certs_action: Ignore
vsphere_nfs_datastores: []
# - name: Datastore_1
# type: NFS
# path: /TANK/NFS/vSphere/Datastore_1
# host: 10.0.101.50
vsphere_ntp_servers: []
# - "{{ vsphere_ddi_vm_ips[0] }}"
# - "{{ vsphere_ddi_vm_ips[1] }}"
# - "{{ vsphere_ddi_vm_ips[2] }}"
vsphere_pri_domain_name: example.org
vsphere_reboot_after_updates: false
vsphere_samba_domain: false
# Defines core services samba vms
# reference vsphere_vm_services_groups as well
vsphere_samba_vms: []
# - vm_name: "samba-dc-00.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_samba_vm_ips[0] }}"
# memory_mb: 512
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: "samba-dc-01.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_samba_vm_ips[1] }}"
# memory_mb: 512
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
# - vm_name: "samba-dc-02.{{ vsphere_pri_domain_name }}"
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# gateway: "{{ vsphere_vm_services_subnet }}.1"
# ip: "{{ vsphere_samba_vm_ips[2] }}"
# memory_mb: 512
# netmask: "{{ vsphere_vm_services_subnet_mask }}"
# netmask_cidr: "{{ vsphere_vm_services_subnet_mask_cidr }}"
# network_name: "{{ vsphere_vm_services_vswitch }}"
# vapp_source_path: "{{ vsphere_linux_vapp_ovf }}"
vsphere_samba_vms_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_samba_vms.inv"
vsphere_samba_vms_json_output_file: "{{ vsphere_inventory_directory }}/vsphere_samba_vms.json"
vsphere_samba_vms_wait_for_ssh: "{{ vsphere_vms_wait_for_ssh }}"
# Define site name of location of deployment
vsphere_site_name: []
vsphere_template_vm: []
# cpus: 1
# deploy: true
# datastore: "{{ vsphere_vm_services_datastore }}"
# disk_gb: 72
# guest_id: ubuntu64Guest
# iso: /ISOs/ubuntu-16.04.3-server-amd64.iso
# memory_mb: 1024
# network_name: VSS-VLAN-101
# vm_name: ubuntu_16.04_template
vsphere_updates: []
# - build: 4192238
# path: /vmfs/volumes/Datastore_1/ESXi600-201608001
# version: 6.0.0
# - build: 5050593
# path: /vmfs/volumes/Datastore_1/update-from-esxi6.0-6.0_update03
# version: 6.0.0
# # - build: 5050593
# # path: /vmfs/volumes/Datastore_1/VMware-ESXi-6.0.0-Update3-5224934-HPE-600.10.1.0.73-Jul2017-depot
# # version: 6.0.0
# - build: 5572656
# path: /vmfs/volumes/Datastore_1/ESXi600-201706001
# version: 6.0.0
# Defines if SSL certs should be validated for various tasks.
vsphere_validate_certs: false
# Defines vCenter Cluster settings
vsphere_vcenter_cluster: []
# # FullyAutomated, Manual, and PartiallyAutomated
# drs_automation_level: FullyAutomated
# enable_drs: true
# enable_ha: true
# enable_vsan: false
# evc_enabled: true
# # intel-merom, intel-penryn, intel-nehalem, intel-westmere, intel-sandybridge, intel-ivybridge
# # iamd-rev-e, amd-rev-f, amd-greyhound-no3dnow, amd-greyhound, amd-bulldozer, amd-piledriver
# evc_mode: intel-penryn
# ha_admission_control: true
# ha_failover_level: "{{ groups['vsphere_hosts']|length -1 }}"
# # PowerOff or DoNothing
# ha_isolation_response: DoNothing
# # Disabled, Low, Medium, and High
# ha_restart_priority: Medium
# name: "{{ vsphere_site_name }}-Cluster"
# state: present
# Defines if a VM template should be created from the OVF which was used during
# initial provisioning of the environment. This is beneficial as it will no longer
# be required to do an import of the OVF post vCenter deployment.
vsphere_vcenter_create_template_from_ovf: false
# Define any OS customization specs
vsphere_vcenter_customization_specs: []
# - name: BasicLinuxSpec-DNS
# description: Basic Linux spec with DNS servers
# dns_server: "{{ vsphere_dns_servers }}"
# dns_suffix: "{{ vsphere_pri_domain_name }}"
# domain: "{{ vsphere_pri_domain_name }}"
# os_type: Linux
# state: present
# - name: BasicLinuxSpec-No-DNS
# description: Basic Linux spec without DNS servers
# dns_suffix: "{{ vsphere_pri_domain_name }}"
# domain: "{{ vsphere_pri_domain_name }}"
# os_type: Linux
# state: present
# Defines vCenter DataCenter
vsphere_vcenter_datacenter: []
# name: "{{ vsphere_site_name }}"
# state: present
# Defines vCenter DRS Affinity Rules
vsphere_vcenter_drs_rules: []
# - name: Separate Samba VMs
# enabled: false
# keep_together: false
# state: present
# vms:
# - "{{ groups['vsphere_samba_vms'] }}"
# - name: Separate DDI VMs
# enabled: false
# keep_together: false
# state: present
# vms:
# - "{{ groups['vsphere_ddi_vms'] }}"
# - name: Separate DNSDist VMs
# enabled: true
# keep_together: false
# state: present
# vms:
# - "{{ groups['vsphere_dnsdist_vms'] }}"
# - name: Separate LB VMs
# enabled: true
# keep_together: false
# state: present
# vms:
# - "{{ groups['vsphere_lb_vms'] }}"
# Defines vCenter Folders
vsphere_vcenter_folders: []
# - name: Core Services
# type: vm
# sub_folders:
# - name: DDI
# vms:
# - "{{ groups['vsphere_ddi_vms'] }}"
# - name: DNSDist
# vms:
# - "{{ groups['vsphere_dnsdist_vms'] }}"
# - name: Load Balancers
# vms:
# - "{{ groups['vsphere_lb_vms'] }}"
# - name: Samba DCs
# vms:
# - "{{ groups['vsphere_samba_vms'] }}"
# - name: vCenter
# vms:
# - "{{ groups['vsphere_vcenter'] }}"
vsphere_vcenter_inventory_file: "{{ vsphere_inventory_directory }}/vsphere_vcenter.inv"
# Define Parent Resource Pools
vsphere_vcenter_resource_pools: []
# - name: Development
# cpu_expandable_reservation: true
# cpu_shares_level: low
# mem_expandable_reservation: true
# mem_shares_level: low
# state: absent
# - name: Production
# cpu_expandable_reservation: true
# cpu_shares_level: high
# mem_expandable_reservation: true
# mem_shares_level: high
# state: absent
# vms:
# - "{{ groups['vsphere_samba_vms'] }}"
# - "{{ groups['vsphere_ddi_vms'] }}"
# - name: QA
# cpu_expandable_reservation: true
# cpu_shares_level: normal
# mem_expandable_reservation: true
# mem_shares_level: normal
# state: absent
# Define VCSA appliance info below for vsphere_vcsa definitions
# Reference inventory/group_vars/all/vsphere_vcsa.yml
vsphere_vcsa_appliance_deployment_network: []
vsphere_vcsa_appliance_deployment_option: small
vsphere_vcsa_appliance_name: []
vsphere_vcsa_appliance_thin_disk_mode: true
vsphere_vcsa_deploy: false
vsphere_vcsa_esx_datastore: []
vsphere_vcsa_esx_hostname: []
vsphere_vcsa_esx_password: []
vsphere_vcsa_esx_username: []
vsphere_vcsa_network_gateway: []
vsphere_vcsa_network_hostname: []
vsphere_vcsa_network_ip: []
vsphere_vcsa_network_ip_family: ipv4
vsphere_vcsa_network_mode: static
vsphere_vcsa_network_prefix: []
vsphere_vcsa_os_password: []
vsphere_vcsa_os_ssh_enabled: false
vsphere_vcsa_sso_domain_name: vsphere.local
vsphere_vcsa_sso_password: []
vsphere_vcsa_sso_site_name: "{{ vsphere_site_name }}"
# Defines core VM service groups
# Also used for determining which VMs should exist or not
# Not 100% complete yet
vsphere_vm_services_groups:
- "{{ vsphere_bootstrap_vms }}"
- "{{ vsphere_samba_vms }}"
- "{{ vsphere_ddi_vms }}"
- "{{ vsphere_dnsdist_vms }}"
- "{{ vsphere_lb_vms }}"
# Defines whether or not VM inventory files should be generated
vsphere_vms_generate_inventory: true
# Defines whether to or not wait for SSH connections on VMs
vsphere_vms_wait_for_ssh: true
vsphere_vswitches: []
# - name: vSwitch0
# load_balancing_policy: LoadBalanceSrcId
# active_nics:
# - vmnic0
# - vmnic1
# standby_nics: []
# unused_nics: []
# portgroups:
# - name: Management Network
# inherit_failover_order: true
# vlan_id: 101
# - name: VSS-VLAN-101
# inherit_failover_order: true
# vlan_id: 101
# - name: VSS-VLAN-102
# inherit_failover_order: true
# vlan_id: 102
# - name: VSS-VLAN-201
# inherit_failover_order: true
# vlan_id: 201
# # vmkernel_ports:
# # - name: vmk0
# # enable_ft: false
# # enable_mgmt: true
# # enable_vmotion: false
# # enable_vsan: false
# # ip_address: '{{ ansible_host }}'
# # portgroup_name: Management Network
# # subnet_mask: 255.255.255.0
# # vlan_id: 101
# # vswitch_name: vSwitch0
# - name: vSwitch1
# active_nics:
# - vmnic2
# - vmnic3
# - vmnic4
# - vmnic5
# standby_nics: []
# unused_nics: []
# portgroups: []
# # - name: VSS-VLAN-101
# # inherit_failover_order: true
# # vlan_id: 101
# # - name: VSS-VLAN-102
# # inherit_failover_order: true
# # vlan_id: 102
# # - name: VSS-VLAN-201
# # inherit_failover_order: true
# # vlan_id: 201
vsphere_vswitches_management_network: Management Network
# Add documentation on usage
vsphere_vswitches_quarantine_unmanaged_portgroups: false
# Add documentation on usage
vsphere_vswitches_quarantine_vswitch: Quarantine
# Add documentation on usage
vsphere_vswitches_remove_unmanaged_portgroups: false
# Add documentation on usage
vsphere_vswitches_remove_unmanaged_vswitches: false