You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

  1. [Global]
  2. user = "{{ vsphere_user }}"
  3. password = "{{ vsphere_password }}"
  4. port = {{ vsphere_vcenter_port }}
  5. insecure-flag = {{ vsphere_insecure }}
  6. {% if kube_version | version_compare('v1.9.2', '>=') %}
  7. datacenters = "{{ vsphere_datacenter }}"
  8. {% else %}
  9. datastore = "{{ vsphere_datastore }}"
  10. datacenter = "{{ vsphere_datacenter }}"
  11. working-dir = "{{ vsphere_working_dir }}"
  12. server = "{{ vsphere_vcenter_ip }}"
  13. {% if vsphere_vm_uuid is defined and vsphere_vm_uuid != "" %}
  14. vm-uuid = "{{ vsphere_vm_uuid }}"
  15. {% endif %}
  16. {% endif %}
  17. {% if kube_version | version_compare('v1.9.2', '>=') %}
  18. [VirtualCenter "{{ vsphere_vcenter_ip }}"]
  19. [Workspace]
  20. server = "{{ vsphere_vcenter_ip }}"
  21. datacenter = "{{ vsphere_datacenter }}"
  22. folder = "{{ vsphere_working_dir }}"
  23. default-datastore = "{{ vsphere_datastore }}"
  24. {% if vsphere_resource_pool is defined and vsphere_resource_pool != "" %}
  25. resourcepool-path = "{{ vsphere_resource_pool }}"
  26. {% endif %}
  27. {% endif %}
  28. [Disk]
  29. scsicontrollertype = {{ vsphere_scsi_controller_type }}
  30. {% if vsphere_public_network is defined and vsphere_public_network != "" %}
  31. [Network]
  32. public-network = {{ vsphere_public_network }}
  33. {% endif %}