2018-01-31 08:15:46 +00:00
|
|
|
[Global]
|
2018-01-31 15:51:23 +00:00
|
|
|
user = "{{ vsphere_user }}"
|
2018-01-31 08:15:46 +00:00
|
|
|
password = "{{ vsphere_password }}"
|
|
|
|
port = {{ vsphere_vcenter_port }}
|
2018-01-31 15:51:23 +00:00
|
|
|
insecure-flag = {{ vsphere_insecure }}
|
|
|
|
|
|
|
|
datacenters = "{{ vsphere_datacenter }}"
|
2018-01-31 08:15:46 +00:00
|
|
|
|
|
|
|
[VirtualCenter "{{ vsphere_vcenter_ip }}"]
|
|
|
|
|
2018-01-31 15:51:23 +00:00
|
|
|
|
2018-01-31 08:15:46 +00:00
|
|
|
[Workspace]
|
|
|
|
server = "{{ vsphere_vcenter_ip }}"
|
|
|
|
datacenter = "{{ vsphere_datacenter }}"
|
|
|
|
folder = "{{ vsphere_working_dir }}"
|
|
|
|
default-datastore = "{{ vsphere_datastore }}"
|
2018-01-31 08:56:43 +00:00
|
|
|
{% if vsphere_resource_pool is defined and vsphere_resource_pool != "" %}
|
2018-01-31 08:15:46 +00:00
|
|
|
resourcepool-path = "{{ vsphere_resource_pool }}"
|
2018-01-31 08:56:43 +00:00
|
|
|
{% endif %}
|
2018-01-31 08:15:46 +00:00
|
|
|
|
2017-02-17 03:59:40 +00:00
|
|
|
|
|
|
|
[Disk]
|
|
|
|
scsicontrollertype = {{ vsphere_scsi_controller_type }}
|
|
|
|
|
|
|
|
{% if vsphere_public_network is defined and vsphere_public_network != "" %}
|
|
|
|
[Network]
|
|
|
|
public-network = {{ vsphere_public_network }}
|
2019-02-26 03:58:15 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
[Labels]
|
|
|
|
{% if vsphere_zone_category is defined and vsphere_zone_category != "" %}
|
|
|
|
zone = {{ vsphere_zone_category }}
|
|
|
|
{% endif %}
|
|
|
|
{% if vsphere_region_category is defined and vsphere_region_category != "" %}
|
|
|
|
region = {{ vsphere_region_category }}
|
|
|
|
{% endif %}
|