| Parameter | Choices/Defaults | Comments | 
                
                                                            | activate 
                    boolean
                                                                 added in 2.8 |  | True if the disk should be activated. When creating disk of virtual machine it is set to True. | 
                            
                                                            | auth 
                    dictionary
                                             / required                     |  | Dictionary with values needed to create HTTP/HTTPS connection to oVirt: | 
                                                        
                                                |  | ca_file 
                    string
                                                                 |  | A PEM file containing the trusted CA certificates. The certificate presented by the server will be verified using these CA certificates. If ca_fileparameter is not set, system wide CA certificate store is used. Default value is set by OVIRT_CAFILEenvironment variable. | 
                            
                                                |  | headers 
                    dictionary
                                                                 |  | Dictionary of HTTP headers to be added to each API call. | 
                            
                                                |  | hostname 
                    string
                                                                 |  | A string containing the hostname of the server, usually something like `server.example.com`. Default value is set by OVIRT_HOSTNAMEenvironment variable. Either urlorhostnameis required. | 
                            
                                                |  | insecure 
                    boolean
                                                                 |  | A boolean flag that indicates if the server TLS certificate and host name should be checked. | 
                            
                                                |  | kerberos 
                    boolean
                                                                 |  | A boolean flag indicating if Kerberos authentication should be used instead of the default basic authentication. | 
                            
                                                |  | password 
                    string
                                             / required                     |  | The password of the user. Default value is set by OVIRT_PASSWORDenvironment variable. | 
                            
                                                |  | token 
                    string
                                                                 |  | Token to be used instead of login with username/password. Default value is set by OVIRT_TOKENenvironment variable. | 
                            
                                                |  | url 
                    string
                                                                 |  | A string containing the API URL of the server, usually something like `https://server.example.com/ovirt-engine/api`. Default value is set by OVIRT_URLenvironment variable. Either urlorhostnameis required. | 
                            
                                                |  | username 
                    string
                                             / required                     |  | The name of the user, something like admin@internal. Default value is set by OVIRT_USERNAMEenvironment variable. | 
                                            
                                                            | bootable 
                    boolean
                                                                 |  | True if the disk should be bootable. By default when disk is created it isn't bootable. | 
                            
                                                            | content_type 
                    -
                                                                 added in 2.8 | Choices:
                                                                                                                                                            data ←isohosted_enginehosted_engine_sanlockhosted_engine_metadatahosted_engine_configuration | Specify if the disk is a data disk or ISO image or a one of a the Hosted Engine disk types The Hosted Engine disk content types are available with Engine 4.3+ and Ansible 2.8 | 
                            
                                                            | description 
                    -
                                                                 added in 2.5 |  | Description of the disk image to manage. | 
                            
                                                            | download_image_path 
                    -
                                                                 |  | Path on a file system where disk should be downloaded. Note that you must have an valid oVirt/RHV engine CA in your system trust store or you must provide it in ca_fileparameter. Note that the disk is not downloaded when the file already exists, but you can forcibly download the disk when using forceI (true). | 
                            
                                                            | fetch_nested 
                    boolean
                                                                 |  | If True the module will fetch additional data from the API. It will fetch IDs of the VMs disks, snapshots, etc. User can configure to fetch other attributes of the nested entities by specifying nested_attributes. | 
                            
                                                            | force 
                    boolean
                                                                 |  | Please take a look at image_pathdocumentation to see the correct usage of this parameter. | 
                            
                                                            | format 
                    -
                                                                 |  | Specify format of the disk. Note that this option isn't idempotent as it's not currently possible to change format of the disk via API. | 
                            
                                                            | host 
                    -
                                                                 added in 2.8 |  | When the hypervisor name is specified the newly created disk or an existing disk will refresh its information about the underlying storage( Disk size, Serial, Product ID, Vendor ID ...) The specified host will be used for gathering the storage related information. This option is only valid for passthrough disks. This option requires at least the logical_unit.id to be specified | 
                            
                                                            | id 
                    -
                                                                 |  | ID of the disk to manage. Either idornameis required. | 
                            
                                                            | image_provider 
                    -
                                                                 added in 2.4 |  | When stateis exported disk is exported to given Glance image provider. **IMPORTANT**
 There is no reliable way to achieve idempotency, so every time you specify this parameter the disk is exported, so please handle your playbook accordingly to not export the disk all the time. This option is valid only for template disks. | 
                            
                                                            | interface 
                    -
                                                                 | Choices:
                                                                                                                                                            virtioidevirtio_scsi | Driver of the storage interface. It's required parameter when creating the new disk. | 
                            
                                                            | logical_unit 
                    -
                                                                 |  | Dictionary which describes LUN to be directly attached to VM: | 
                                                        
                                                |  | address 
                    -
                                                                 |  | Address of the storage server. Used by iSCSI. | 
                            
                                                |  | lun_id 
                    -
                                                                 |  | LUN id. | 
                            
                                                |  | password 
                    -
                                                                 |  | CHAP Password of the user to be used to access storage server. Used by iSCSI. | 
                            
                                                |  | port 
                    -
                                                                 |  | Port of the storage server. Used by iSCSI. | 
                            
                                                |  | storage_type 
                    -
                                                                 |  | Storage type either fcp or iscsi. | 
                            
                                                |  | target 
                    -
                                                                 |  | iSCSI target. | 
                            
                                                |  | username 
                    -
                                                                 |  | CHAP Username to be used to access storage server. Used by iSCSI. | 
                                            
                                                            | name 
                    -
                                                                 |  | Name of the disk to manage. Either idorname/aliasis required. aliases: alias
 | 
                            
                                                            | nested_attributes 
                    list
                                                                 |  | Specifies list of the attributes which should be fetched from the API. This parameter apply only when fetch_nestedis true. | 
                            
                                                            | openstack_volume_type 
                    -
                                                                 added in 2.4 |  | Name of the openstack volume type. This is valid when working with cinder. | 
                            
                                                            | poll_interval 
                    integer
                                                                 | Default: 
 3 | Number of the seconds the module waits until another poll request on entity status is sent. | 
                            
                                                            | profile 
                    -
                                                                 |  | Disk profile name to be attached to disk. By default profile is chosen by oVirt/RHV engine. | 
                            
                                                            | quota_id 
                    -
                                                                 added in 2.5 |  | Disk quota ID to be used for disk. By default quota is chosen by oVirt/RHV engine. | 
                            
                                                            | shareable 
                    boolean
                                                                 |  | True if the disk should be shareable. By default when disk is created it isn't shareable. | 
                            
                                                            | size 
                    -
                                                                 |  | Size of the disk. Size should be specified using IEC standard units. For example 10GiB, 1024MiB, etc. Size can be only increased, not decreased. | 
                            
                                                            | sparse 
                    boolean
                                                                 added in 2.5 |  | True if the disk should be sparse (also known as thin provision). If the parameter is omitted, cow disks will be created as sparse and raw disks as preallocated Note that this option isn't idempotent as it's not currently possible to change sparseness of the disk via API. | 
                            
                                                            | sparsify 
                    boolean
                                                                 added in 2.4 |  | True if the disk should be sparsified. Sparsification frees space in the disk image that is not used by its filesystem. As a result, the image will occupy less space on the storage. Note that this parameter isn't idempotent, as it's not possible to check if the disk should be or should not be sparsified. | 
                            
                                                            | state 
                    -
                                                                 | Choices:
                                                                                                                                                            present ←absentattacheddetachedexported | Should the Virtual Machine disk be present/absent/attached/detached/exported. | 
                            
                                                            | storage_domain 
                    -
                                                                 |  | Storage domain name where disk should be created. | 
                            
                                                            | storage_domains 
                    -
                                                                 |  | Storage domain names where disk should be copied. **IMPORTANT**
 There is no reliable way to achieve idempotency, so every time you specify this parameter the disks are copied, so please handle your playbook accordingly to not copy the disks all the time. This is valid only for VM and floating disks, template disks works as expected. | 
                            
                                                            | timeout 
                    integer
                                                                 | Default: 
 180 | The amount of time in seconds the module should wait for the instance to get into desired state. | 
                            
                                                            | upload_image_path 
                    -
                                                                 |  | Path to disk image, which should be uploaded. Note if sizeis not specified the size of the disk will be determined by the size of the specified image. Note that currently we support only compatibility version 0.10 of the qcow disk. Note that you must have an valid oVirt/RHV engine CA in your system trust store or you must provide it in ca_fileparameter. Note that there is no reliable way to achieve idempotency, so if you want to upload the disk even if the disk with idornameexists, then please useforcetrue. If you will useforcefalse, which is default, then the disk image won't be uploaded. Note that to upload iso the formatshould be 'raw' | 
                            
                                                            | vm_id 
                    -
                                                                 |  | ID of the Virtual Machine to manage. Either vm_idorvm_nameis required ifstateis attached or detached. | 
                            
                                                            | vm_name 
                    -
                                                                 |  | Name of the Virtual Machine to manage. Either vm_idorvm_nameis required ifstateis attached or detached. | 
                            
                                                            | wait 
                    boolean
                                                                 |  | yesif the module should wait for the entity to get into desired state.
 | 
                            
                                                            | wipe_after_delete 
                    boolean
                                                                 |  | If the disk's Wipe After Delete is enabled, then the disk is first wiped. |