Parameter |
Choices/Defaults |
Comments |
disk_alloc
|
Choices:
- preallocated
thin ←
|
Define whether disk is thin or preallocated.
|
disk_int
|
|
Interface type of the disk.
|
image
|
|
The template to use for the instance.
|
instance_cores
|
Default:
1
|
Define the instance's number of cores.
aliases: vmcores
|
instance_cpus
|
Default:
1
|
The instance's number of CPUs.
aliases: vmcpus
|
instance_disksize
|
|
Size of the instance's disk in GB.
aliases: vm_disksize
|
instance_dns
(added in 2.1) |
|
Define the instance's Primary DNS server.
aliases: dns
|
instance_domain
(added in 2.1) |
|
Define the instance's Domain.
aliases: domain
|
instance_hostname
(added in 2.1) |
|
Define the instance's Hostname.
aliases: hostname
|
instance_ip
(added in 2.1) |
|
Define the instance's IP.
aliases: ip
|
instance_key
(added in 2.1) |
|
Define the instance's Authorized key.
aliases: key
|
instance_mem
|
|
The instance's amount of memory in MB.
aliases: vmmem
|
instance_name
required |
|
The name of the instance to use.
aliases: vmname
|
instance_netmask
(added in 2.1) |
|
Define the instance's Netmask.
aliases: netmask
|
instance_network
|
Default:
"rhevm"
|
The logical network the machine should belong to.
aliases: vmnetwork
|
instance_nic
|
|
The name of the network interface in oVirt/RHEV.
aliases: vmnic
|
instance_os
|
|
Type of Operating System.
aliases: vmos
|
instance_rootpw
(added in 2.1) |
|
Define the instance's Root password.
aliases: rootpw
|
instance_type
|
Choices:
- desktop
server ←
- high_performance
|
Define whether the instance is a server, desktop or high_performance.
high_performance is supported since Ansible 2.5 and oVirt/RHV 4.2.
aliases: vmtype
|
password
required |
|
Password of the user to authenticate with.
|
region
|
|
The oVirt/RHEV datacenter where you want to deploy to.
|
resource_type
|
|
Whether you want to deploy an image or create an instance from scratch.
|
sdomain
|
|
The Storage Domain where you want to create the instance's disk on.
|
state
|
Choices:
- absent
present ←
- restarted
- shutdown
- started
|
Create, terminate or remove instances.
|
url
required |
|
The url of the oVirt instance.
|
user
required |
|
The user to authenticate with.
|
zone
|
|
Deploy the image to this oVirt cluster.
|