damex.incus.incus_network_zone_record_info module – Ensure Incus network zone record information is gathered
Note
This module is part of the damex.incus collection (version 1.9.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install damex.incus.
To use it in a playbook, specify: damex.incus.incus_network_zone_record_info.
Synopsis
Gather information about Incus network zone records via the Incus REST API.
Returns information about all records in a zone or a specific record.
Network zone records are project-scoped resources within a zone.
Parameters
Parameter |
Comments |
|---|---|
Client certificate content for remote authentication. Requires |
|
Path to the client certificate for remote authentication. Requires |
|
Client key content for remote authentication. Requires |
|
Path to the client key for remote authentication. Requires |
|
Name of the network zone record to query. If not specified, all records in the zone are returned. |
|
Incus project to query. Default: |
|
Server certificate content for remote verification. Requires |
|
Path to the server certificate for remote verification. Requires |
|
Path to the Incus Unix socket for local connections. Default: |
|
Token for remote authentication. Requires |
|
URL of the remote Incus server (e.g. https://host:8443). If specified, connects via HTTPS instead of Unix socket. |
|
Whether to validate the server TLS certificate. Choices:
|
|
Name of the network zone to query records from. |
Examples
- name: Ensure network zone record information is gathered
damex.incus.incus_network_zone_record_info:
zone: example.com
register: result
- name: Ensure specific network zone record information is gathered
damex.incus.incus_network_zone_record_info:
zone: example.com
name: web
register: result
- name: Ensure network zone record information is gathered from project
damex.incus.incus_network_zone_record_info:
zone: example.com
project: myproject
register: result
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
List of network zone record information. Returned: always |
|
Record configuration. Returned: success |
|
Record description. Returned: success |
|
DNS entries. Returned: success |
|
Name of the record. Returned: success |