damex.incus.incus_cluster_groups role – Ensure Incus cluster groups.
Note
This role 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_groups.
Entry point main – Ensure Incus cluster groups.
Synopsis
Ensure Incus cluster groups.
Parameters
Parameter |
Comments |
|---|---|
List of Incus cluster groups to ensure. |
|
Description of the cluster group. |
|
List of cluster member names in the group. |
|
Name of the cluster group. |
|
Desired state of the cluster group. Choices:
|
|
Client certificate content for API authentication. |
|
Path to the TLS client certificate for API authentication. |
|
Client key content for API authentication. |
|
Path to the TLS client key for API authentication. |
|
Server certificate content for API verification. |
|
Path to the TLS server certificate for API verification. |
|
Path to the Incus Unix socket. |
|
Default desired state of the cluster groups. Choices:
|
|
Authentication token for the Incus API. |
|
URL of the Incus server API. |
|
Whether to validate TLS certificates. Choices:
|
Examples
- name: Ensure incus cluster groups
hosts: incus
tasks:
- name: Ensure incus cluster groups
ansible.builtin.import_role:
name: damex.incus.incus_cluster_groups
vars:
incus_cluster_groups:
- name: dpu
description: ARM64 DPU nodes
members:
- arm64-node1
- arm64-node2