Class: Ansible::Ruby::Modules::Vmware_deploy_ovf

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb

Overview

This module can be used to deploy a VMware VM from an OVF or OVA file

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#allow_duplicates:yes, ...

Returns Whether or not to allow duplicate VM names. ESXi allows duplicates, vCenter may not.

Returns:

  • (:yes, :no, nil)

    Whether or not to allow duplicate VM names. ESXi allows duplicates, vCenter may not.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 12

attribute :allow_duplicates

#clusterObject?

Returns Cluster to deploy to.

Returns:

  • (Object, nil)

    Cluster to deploy to.



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 20

attribute :cluster

#datacenterString?

Returns Datacenter to deploy to.

Returns:

  • (String, nil)

    Datacenter to deploy to.



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 16

attribute :datacenter

#datastoreString?

Returns Datastore to deploy to.

Returns:

  • (String, nil)

    Datastore to deploy to.



23
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 23

attribute :datastore

#deployment_optionObject?

Returns The key of the chosen deployment option.

Returns:

  • (Object, nil)

    The key of the chosen deployment option.



27
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 27

attribute :deployment_option

#disk_provisioning:flat, ...

Returns Disk provisioning type.

Returns:

  • (:flat, :eagerZeroedThick, :monolithicSparse, :twoGbMaxExtentSparse, :twoGbMaxExtentFlat, :thin, :sparse, :thick, :seSparse, :monolithicFlat, nil)

    Disk provisioning type.



30
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 30

attribute :disk_provisioning

#fail_on_spec_warnings:yes, ...

Returns Cause the module to treat OVF Import Spec warnings as errors.

Returns:

  • (:yes, :no, nil)

    Cause the module to treat OVF Import Spec warnings as errors.



34
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 34

attribute :fail_on_spec_warnings

#folderObject?

Returns Absolute path of folder to place the virtual machine.,If not specified, defaults to the value of C(datacenter.vmFolder).

Returns:

  • (Object, nil)

    Absolute path of folder to place the virtual machine.,If not specified, defaults to the value of C(datacenter.vmFolder).



38
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 38

attribute :folder

#nameObject?

Returns Name of the VM to work with.,Virtual machine names in vCenter are not necessarily unique, which may be problematic.

Returns:

  • (Object, nil)

    Name of the VM to work with.,Virtual machine names in vCenter are not necessarily unique, which may be problematic.



41
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 41

attribute :name

#networksArray<String>, ...

Returns C(key: value) mapping of OVF network name, to the vCenter network name.

Returns:

  • (Array<String>, String, nil)

    C(key: value) mapping of OVF network name, to the vCenter network name.



44
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 44

attribute :networks

#ovfString?

Returns Path to OVF or OVA file to deploy.

Returns:

  • (String, nil)

    Path to OVF or OVA file to deploy.



48
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 48

attribute :ovf

#power_onBoolean?

Returns Whether or not to power on the virtual machine after creation.

Returns:

  • (Boolean, nil)

    Whether or not to power on the virtual machine after creation.



52
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 52

attribute :power_on

#propertiesObject?

Returns The assignment of values to the properties found in the OVF as key value pairs.

Returns:

  • (Object, nil)

    The assignment of values to the properties found in the OVF as key value pairs.



56
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 56

attribute :properties

#resource_poolString?

Returns Resource Pool to deploy to.

Returns:

  • (String, nil)

    Resource Pool to deploy to.



59
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 59

attribute :resource_pool

#waitBoolean?

Returns Wait for the host to power on.

Returns:

  • (Boolean, nil)

    Wait for the host to power on.



63
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 63

attribute :wait

#wait_for_ip_addressSymbol?

Returns Wait until vCenter detects an IP address for the VM.,This requires vmware-tools (vmtoolsd) to properly work after creation.

Returns:

  • (Symbol, nil)

    Wait until vCenter detects an IP address for the VM.,This requires vmware-tools (vmtoolsd) to properly work after creation.



67
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 67

attribute :wait_for_ip_address