damex.incus.incus_cluster_groups role – Ensure Incus cluster groups.
Note
This role is part of the damex.incus collection (version 1.11.7).
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 |
|---|---|
Incus cluster groups to ensure. |
|
Description of the cluster group. |
|
Cluster member names in the group. |
|
Name of the cluster group. |
|
Desired state of the cluster group. Choices:
|
|
Client certificate content for API authentication. |
|
TLS client certificate path for API authentication. |
|
Client key content for API authentication. |
|
TLS client key path for API authentication. |
|
Server certificate content for API verification. |
|
TLS server certificate path for API verification. |
|
Incus Unix socket path. |
|
Default desired state of the cluster groups. Choices:
|
|
Authentication token for the Incus API. |
|
URL of the Incus server API. |
|
TLS certificate validation. 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