Class: Ansible::Ruby::Modules::Vmware_deploy_ovf
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_deploy_ovf
- 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
-
#allow_duplicates ⇒ :yes, ...
Whether or not to allow duplicate VM names.
-
#cluster ⇒ Object?
Cluster to deploy to.
-
#datacenter ⇒ String?
Datacenter to deploy to.
-
#datastore ⇒ String?
Datastore to deploy to.
-
#deployment_option ⇒ Object?
The key of the chosen deployment option.
-
#disk_provisioning ⇒ :flat, ...
Disk provisioning type.
-
#fail_on_spec_warnings ⇒ :yes, ...
Cause the module to treat OVF Import Spec warnings as errors.
-
#folder ⇒ Object?
Absolute path of folder to place the virtual machine.,If not specified, defaults to the value of C(datacenter.vmFolder).
-
#name ⇒ Object?
Name of the VM to work with.,Virtual machine names in vCenter are not necessarily unique, which may be problematic.
-
#networks ⇒ Array<String>, ...
C(key: value) mapping of OVF network name, to the vCenter network name.
-
#ovf ⇒ String?
Path to OVF or OVA file to deploy.
-
#power_on ⇒ Boolean?
Whether or not to power on the virtual machine after creation.
-
#properties ⇒ Object?
The assignment of values to the properties found in the OVF as key value pairs.
-
#resource_pool ⇒ String?
Resource Pool to deploy to.
-
#wait ⇒ Boolean?
Wait for the host to power on.
-
#wait_for_ip_address ⇒ Symbol?
Wait until vCenter detects an IP address for the VM.,This requires vmware-tools (vmtoolsd) to properly work after creation.
Methods inherited from Base
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.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 12 attribute :allow_duplicates |
#cluster ⇒ Object?
Returns Cluster to deploy to.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 20 attribute :cluster |
#datacenter ⇒ String?
Returns Datacenter to deploy to.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 16 attribute :datacenter |
#datastore ⇒ String?
Returns Datastore to deploy to.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 23 attribute :datastore |
#deployment_option ⇒ Object?
Returns 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.
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.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 34 attribute :fail_on_spec_warnings |
#folder ⇒ Object?
Returns 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 |
#name ⇒ Object?
Returns 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 |
#networks ⇒ Array<String>, ...
Returns 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 |
#ovf ⇒ String?
Returns 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_on ⇒ Boolean?
Returns 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 |
#properties ⇒ Object?
Returns 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_pool ⇒ String?
Returns Resource Pool to deploy to.
59 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_deploy_ovf.rb', line 59 attribute :resource_pool |
#wait ⇒ Boolean?
Returns 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_address ⇒ Symbol?
Returns 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 |