Parameter |
Choices/Defaults |
Comments |
auth
required |
|
Dictionary with values needed to create HTTP/HTTPS connection to oVirt:
username [required] - The name of the user, something like admin@internal. Default value is set by OVIRT_USERNAME environment variable.
password [required] - The password of the user. Default value is set by OVIRT_PASSWORD environment variable.
url - 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_URL environment variable. Either url or hostname is required.
hostname - A string containing the hostname of the server, usually something like `server.example.com`. Default value is set by OVIRT_HOSTNAME environment variable. Either url or hostname is required.
token - Token to be used instead of login with username/password. Default value is set by OVIRT_TOKEN environment variable.
insecure - A boolean flag that indicates if the server TLS certificate and host name should be checked.
ca_file - A PEM file containing the trusted CA certificates. The certificate presented by the server will be verified using these CA certificates. If `ca_file ` parameter is not set, system wide CA certificate store is used. Default value is set by OVIRT_CAFILE environment variable.
kerberos - A boolean flag indicating if Kerberos authentication should be used instead of the default basic authentication.
headers - Dictionary of HTTP headers to be added to each API call.
|
authentication_keys
(added in 2.6) |
Default:
[]
|
List of authentication keys. Each key is represented by dict like {'uuid': 'our-uuid', 'value': 'YourSecretValue=='}
When you will not pass these keys and there are already some of them defined in the system they will be removed.
Applicable for os_volume.
|
authentication_url
|
|
Keystone authentication URL of the openstack provider.
Applicable for those types: os_image, os_volume and network.
aliases: auth_url
|
data_center
|
|
Name of the data center where provider should be attached.
Applicable for those type: os_volume.
|
description
|
|
Description of the external provider.
|
fetch_nested
(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 nested_attributes .
|
name
|
|
Name of the external provider to manage.
|
nested_attributes
(added in 2.3) |
|
Specifies list of the attributes which should be fetched from the API.
This parameter apply only when fetch_nested is true.
|
network_type
|
Choices:
external ←
- neutron
Default:
["external"]
|
Type of the external network provider either external (for example OVN) or neutron.
Applicable if type is network.
|
password
|
|
Password of the user specified in username parameter.
Applicable for all types.
|
poll_interval
|
Default:
3
|
Number of the seconds the module waits until another poll request on entity status is sent.
|
read_only
|
|
Specify if the network should be read only.
Applicable if type is network.
|
state
|
Choices:
present ←
- absent
|
Should the external be present or absent
When you are using absent for os_volume, you need to make sure that SD is not attached to the data center!
|
tenant_name
|
|
Name of the tenant.
Applicable for those types: os_image, os_volume and network.
aliases: tenant
|
timeout
|
Default:
180
|
The amount of time in seconds the module should wait for the instance to get into desired state.
|
type
|
Choices:
- os_image
- network
- os_volume
- foreman
|
Type of the external provider.
|
url
|
|
URL where external provider is hosted.
Applicable for those types: os_image, os_volume, network and foreman.
|
username
|
|
Username to be used for login to external provider.
Applicable for all types.
|
wait
|
|
True if the module should wait for the entity to get into desired state.
|