damex.incus.incus_server role – Ensure Incus server.
Note
This role is part of the damex.incus collection (version 1.6.1).
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_server.
Entry point main – Ensure Incus server.
Synopsis
Ensure Incus server.
Parameters
Parameter |
Comments |
|---|---|
Force preseed application even when configuration has not changed. Choices:
|
|
Preseed configuration for the Incus server. |
|
Cluster configuration for preseed. |
|
Whether clustering is enabled. Choices:
|
|
Address of the cluster member. |
|
Name of the cluster member. |
|
Server configuration key-value pairs. |
|
Agree to ACME terms of service. Choices:
|
|
URL to the ACME CA directory. |
|
ACME challenge type to use. Choices:
|
|
Domain for which to issue the certificate. |
|
Email address for the account registration. |
|
Port to use for HTTP-01 challenge listener. |
|
DNS provider for DNS-01 challenge. |
|
Environment variables for the DNS provider. |
|
DNS resolvers for the DNS-01 challenge. |
|
Starlark scriptlet for custom authorization logic. |
|
Compression algorithm to use for backups. |
|
Threshold after which an offline cluster member is evacuated. |
|
Address to bind for intra-cluster communication. |
|
Minimum number of cluster members that keep a copy of an image. |
|
Expiry time for cluster join tokens. |
|
Maximum number of standby database members. |
|
Maximum number of voting database members. |
|
Seconds after which an unresponsive member is considered offline. |
|
Number of instances to move per rebalance batch. |
|
Cooldown period between rebalance batches. |
|
Interval in seconds between rebalance checks. |
|
Percentage threshold to trigger instance rebalancing. |
|
Address to bind the BGP server to. |
|
BGP Autonomous System Number for the local server. |
|
BGP router ID for the local server. |
|
Address to bind the pprof debug server to. |
|
Address to bind the authoritative DNS server to. |
|
Address to bind the remote API to. |
|
Whether to set Access-Control-Allow-Credentials. Choices:
|
|
Access-Control-Allow-Headers header value. |
|
Access-Control-Allow-Methods header value. |
|
Access-Control-Allow-Origin header value. |
|
Comma-separated list of trusted proxy IP addresses. |
|
Address to bind the metrics server to. |
|
Whether to enforce authentication on the metrics endpoint. Choices:
|
|
HTTP proxy to use. |
|
HTTPS proxy to use. |
|
Hosts that do not need the proxy. |
|
Expiry time for remote add join tokens. |
|
Number of minutes to wait for running operations to complete before shutdown. |
|
Address to bind the storage buckets API to. |
|
Whether to enable the syslog socket listener. Choices:
|
|
Whether to trust CA-signed client certificates. Choices:
|
|
Whether to auto-update cached images. Choices:
|
|
Interval in hours between image auto-update checks. |
|
Compression algorithm to use for images. |
|
Default architecture to use in mixed-architecture clusters. |
|
Number of days after which an unused cached remote image is removed. |
|
Whether to use a per-instance LXCFS process. Choices:
|
|
How to set the host name for a NIC. |
|
Starlark scriptlet for custom instance placement. |
|
CA certificate for the OVN northbound connection. |
|
Client certificate for the OVN northbound connection. |
|
Client key for the OVN northbound connection. |
|
Name of the OVS integration bridge to use. |
|
OVN northbound database connection string. |
|
OVS database connection string. |
|
Expected audience value for the OIDC provider. |
|
OIDC claim to use as the username. |
|
OIDC client ID for the Incus server. |
|
Issuer URL for the OIDC provider. |
|
Comma-separated list of OIDC scopes to request. |
|
API token for the OpenFGA server. |
|
URL of the OpenFGA server. |
|
OpenFGA store ID. |
|
Volume to use for storing backup tarballs. |
|
Volume to use for storing image tarballs. |
|
CA certificate for the LINSTOR controller connection. |
|
Client certificate for the LINSTOR controller connection. |
|
Client key for the LINSTOR controller connection. |
|
LINSTOR controller connection string. |
|
LINSTOR satellite node name for this server. |
|
Volume to use for storing log files. |
Examples
- name: Ensure incus server
hosts: incus
tasks:
- name: Ensure incus server
ansible.builtin.import_role:
name: damex.incus.incus_server
vars:
incus_server_preseed:
config:
core.https_address: :8443