New in version 2.3.
|auth ||yes|| |
Dictionary with values needed to create HTTP/HTTPS connection to oVirt:
(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
(added in 2.3)
Specifies list of the attributes which should be fetched from the API.
This parameter apply only when
|pattern ||no|| |
Search term which is accepted by oVirt/RHV search backend.
For example to search datacenter X use following pattern: name=X
# Examples don't contain auth parameter for simplicity, # look at ovirt_auth module to see how to reuse authentication: # Gather facts about all data centers which names start with C(production): - ovirt_datacenter_facts: pattern: name=production* - debug: var: ovirt_datacenters
Common return values are documented here Return Values, the following are the fields unique to this module:
List of dictionaries describing the datacenters. Datacenter attribues are mapped to dictionary keys, all datacenters attributes can be found at following url: http://ovirt.github.io/ovirt-engine-api-model/master/#types/data_center.
ovirt_datacentersfact, which contains a list of datacenters.
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.