damex.incus.incus_cluster_group_info module – Ensure Incus cluster group information is gathered
Note
This module is part of the damex.incus collection (version 1.10.3).
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_cluster_group_info.
Synopsis
Gather information about Incus cluster groups via the Incus REST API.
Returns information about all cluster groups or a specific group.
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 cluster group to query. If not specified, all cluster groups are returned. |
|
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:
|
Examples
- name: Ensure cluster group information is gathered
damex.incus.incus_cluster_group_info:
socket_path: /var/lib/incus/unix.socket
register: result
- name: Ensure specific cluster group information is gathered
damex.incus.incus_cluster_group_info:
name: dpu
register: result
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
List of cluster group information. Returned: always |
|
The description of the cluster group. Returned: success |
|
List of members in this group. Returned: success |
|
Name of the cluster group. Returned: success |