New in version 2.3.
If true all the attributes of the virtual machines should be included in the response.
Dictionary with values needed to create HTTP/HTTPS connection to oVirt:
If true performed search will take case into account.
(added in 2.3)
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
The maximum number of results to return.
(added in 2.3)
Specifies list of the attributes which should be fetched from the API.
This parameter apply only when
Search term which is accepted by oVirt search backend.
For example to search VM X from cluster Y use following pattern: name=X and cluster=Y
# Examples don't contain auth parameter for simplicity, # look at ovirt_auth module to see how to reuse authentication: # Gather facts about all VMs which names start with C(centos) and # belong to cluster C(west): - ovirt_vms_facts: pattern: name=centos* and cluster=west - debug: var: ovirt_vms
Common return values are documented here Return Values, the following are the fields unique to this module:
|ovirt_vms||List of dictionaries describing the VMs. VM attribues are mapped to dictionary keys, all VMs attributes can be found at following url: https://ovirt.example.com/ovirt-engine/api/model#types/vm.||On success.||list|
ovirt_vmsfact, which contains a list of virtual machines.
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support