---
vmware-new:
  topology:
    topology_name: vmware-new
    resource_groups:
      - resource_group_name: vmware-new
        resource_group_type: vmware
        resource_definitions:
          - role: vmware_guest
            name: vmware-node
            cdrom:
              type: iso
              iso_path: [{{ datastore | default('ha-datacenter') }}] {{ iso_path | default('tc_vmware4.iso') }}
            folder: /
            datastore: {{ datastore | default('ha-datacenter') }}
            disk:
              - size_mb: 10
                type: thin
            hardware:
              num_cpus: 1
              memory_mb: 256
            networks:
              - name: {{ network | default('VM Network') }}
            wait_for_ip_address: yes
        {% if credentials is defined %}
        credentials:
          filename: {{ credentials.filename }}
          profile: {{ credentials.profile }}
        {% else %}
        credentials:
          filename: vmware.key
          profile: default
        {% endif %}
  layout:
    inventory_layout:
      vars:
        hostname: __IP__
      hosts:
        example-node:
          count: 1
          host_groups:
            - example


