damex.incus.incus_profiles role – Ensure Incus profiles.
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_profiles.
Entry point main – Ensure Incus profiles.
Synopsis
Ensure Incus profiles.
Parameters
Parameter |
Comments |
|---|---|
Incus profiles to ensure. |
|
Profile configuration key-value pairs. |
|
Use instance NIC names and MTU for default interfaces. Choices:
|
|
Auto-restart on unexpected stop. Choices:
|
|
Instance autostart on daemon startup. Choices:
|
|
Seconds to wait after the instance started. |
|
Instance startup priority, higher starts first. |
|
Action to perform on host shutdown. |
|
Seconds to wait for graceful shutdown on host stop. |
|
Instance shutdown priority, higher stops first. |
|
Cloud-init network configuration. |
|
Bond device configurations. |
|
IPv6 Router Advertisement acceptance. Choices:
|
|
Static addresses in CIDR notation. |
|
DHCPv4. Choices:
|
|
DHCPv6. Choices:
|
|
Default IPv4 gateway address. |
|
Default IPv6 gateway address. |
|
Member interfaces for the bond. |
|
Maximum transmission unit for the device. |
|
Bond device name. |
|
DNS resolver configuration. |
|
DNS server addresses. |
|
DNS search domains. |
|
Optional boot device. Choices:
|
|
Bond-specific parameters. |
|
MII monitoring interval in milliseconds. |
|
Bonding mode. |
|
Static routes for the device. |
|
Route metric value. |
|
Scope of the route. |
|
Routing table ID for the route. |
|
Destination network in CIDR notation. |
|
Gateway address for the route. |
|
Rename the device to this name. |
|
Bridge device configurations. |
|
IPv6 Router Advertisement acceptance. Choices:
|
|
Static addresses in CIDR notation. |
|
DHCPv4. Choices:
|
|
DHCPv6. Choices:
|
|
Default IPv4 gateway address. |
|
Default IPv6 gateway address. |
|
Member interfaces for the bridge. |
|
Maximum transmission unit for the device. |
|
Bridge device name. |
|
DNS resolver configuration. |
|
DNS server addresses. |
|
DNS search domains. |
|
Optional boot device. Choices:
|
|
Bridge-specific parameters. |
|
Forwarding delay in seconds. |
|
Spanning Tree Protocol. Choices:
|
|
Static routes for the device. |
|
Route metric value. |
|
Scope of the route. |
|
Routing table ID for the route. |
|
Destination network in CIDR notation. |
|
Gateway address for the route. |
|
Rename the device to this name. |
|
Ethernet device configurations. |
|
IPv6 Router Advertisement acceptance. Choices:
|
|
Static addresses in CIDR notation. |
|
DHCPv4. Choices:
|
|
DHCPv6. Choices:
|
|
Default IPv4 gateway address. |
|
Default IPv6 gateway address. |
|
Device match criteria. |
|
Kernel driver name to match. |
|
MAC address to match. |
|
Interface name glob pattern to match. |
|
Maximum transmission unit for the device. |
|
Ethernet device name. |
|
DNS resolver configuration. |
|
DNS server addresses. |
|
DNS search domains. |
|
Optional boot device. Choices:
|
|
Static routes for the device. |
|
Route metric value. |
|
Scope of the route. |
|
Routing table ID for the route. |
|
Destination network in CIDR notation. |
|
Gateway address for the route. |
|
Rename the device to this name. |
|
Network renderer backend. |
|
Network config format version. |
|
VLAN device configurations. |
|
IPv6 Router Advertisement acceptance. Choices:
|
|
Static addresses in CIDR notation. |
|
DHCPv4. Choices:
|
|
DHCPv6. Choices:
|
|
Default IPv4 gateway address. |
|
Default IPv6 gateway address. |
|
VLAN ID. |
|
Parent device for the VLAN. |
|
Maximum transmission unit for the device. |
|
VLAN device name. |
|
DNS resolver configuration. |
|
DNS server addresses. |
|
DNS search domains. |
|
Optional boot device. Choices:
|
|
Static routes for the device. |
|
Route metric value. |
|
Scope of the route. |
|
Routing table ID for the route. |
|
Destination network in CIDR notation. |
|
Gateway address for the route. |
|
Rename the device to this name. |
|
Cloud-init user data configuration. |
|
Public SSH key allowance. Choices:
|
|
APT package manager configuration. |
|
Regex for matching add-apt-repository entries. |
|
APT configuration to write. |
|
Debconf preseed selections. |
|
Selection set identifier. |
|
Debconf selection lines. |
|
APT suites to disable. |
|
FTP proxy URL for APT. |
|
HTTP proxy for APT. |
|
HTTPS proxy for APT. |
|
Existing sources.list preservation. Choices:
|
|
Primary APT mirror configuration. |
|
APT proxy URL. |
|
Security APT mirror configuration. |
|
Additional APT source definitions. |
|
Source file append mode. Choices:
|
|
Name of the source list file. |
|
Raw GPG key. |
|
GPG key ID to import. |
|
Alternate keyserver to pull key from. |
|
Source entry identifier and filename. |
|
Sources.list entry. |
|
Custom sources.list content. |
|
Commands to run early in the boot process. |
|
CA certificate configuration. |
|
Default CA certificate removal. Choices:
|
|
Trusted CA certificates to add. |
|
Password change settings. |
|
Password expiry after first login. Choices:
|
|
Users with password settings. |
|
User login name. |
|
Password for the user. |
|
Password encoding type. Choices:
|
|
Root login. Choices:
|
|
SSH options applied when root login is disabled. |
|
Disk partitioning configuration. |
|
Partition layout specification. |
|
Device path. |
|
Existing partition table overwrite. Choices:
|
|
Partition table type. Choices:
|
|
Message to display when cloud-init completes. |
|
Fully qualified domain name. |
|
Filesystem creation configuration. |
|
Custom command to create the filesystem. |
|
Device to create the filesystem on. |
|
Extra options to pass to mkfs. |
|
Filesystem type. |
|
Filesystem label. |
|
Existing filesystem overwrite. Choices:
|
|
Partition specification. |
|
Existing filesystem replacement. Choices:
|
|
Groups to create. |
|
Partition growing configuration. |
|
Devices to grow. |
|
Growroot disabled marker bypass. Choices:
|
|
Growpart mode. Choices:
|
|
System hostname. |
|
System locale. |
|
Locale configuration file path. |
|
/etc/hosts management. Choices:
|
|
/etc/resolv.conf management. Choices:
|
|
Default values for mount entries with fewer than six fields. |
|
Mount point definitions. |
|
NTP time synchronization configuration. |
|
Allowed NTP network ranges. |
|
NTP client-specific configuration. |
|
Executable name for the NTP client. |
|
NTP client configuration file path. |
|
Packages needed for the NTP client. |
|
Service name for the NTP client. |
|
Jinja template for NTP client configuration. |
|
NTP. Choices:
|
|
NTP client to use. |
|
NTP peer nodes. |
|
NTP pools. |
|
NTP servers. |
|
Post-upgrade reboot. Choices:
|
|
First-boot package list update. Choices:
|
|
First-boot package upgrade. Choices:
|
|
Packages to install on first boot. |
|
Password for the default user. |
|
Phone home configuration. |
|
Data keys to post. |
|
Number of phone home attempts. |
|
URL to send phone home data to. |
|
Power state change after cloud-init completes. |
|
Condition to evaluate before power state change. |
|
Delay before power state change. |
|
Power state action. Choices:
|
|
Seconds to wait for cloud-init to complete. |
|
FQDN preference over short hostname. Choices:
|
|
DNS resolver configuration. |
|
DNS domain name. |
|
DNS server addresses. |
|
Resolver options for /etc/resolv.conf. |
|
Number of resolver query attempts. |
|
EDNS0 extensions. Choices:
|
|
IPv6 address preference. Choices:
|
|
Minimum dots in a name before absolute query. |
|
Name checking disabling. Choices:
|
|
Automatic config reload disabling. Choices:
|
|
Top-level domain query disabling. Choices:
|
|
Nameserver rotation. Choices:
|
|
Sequential A and AAAA queries. Choices:
|
|
Socket reopen for sequential queries. Choices:
|
|
Resolver query timeout in seconds. |
|
Resolver AD flag trust. Choices:
|
|
TCP DNS queries. Choices:
|
|
DNS search domains. |
|
DNS sort list entries. |
|
Commands to run after cloud-init completes. |
|
Snap package manager configuration. |
|
Snap commands to run. |
|
SSH public keys to add to the default user. |
|
Default SSH host key deletion. Choices:
|
|
SSH key types to generate. |
|
SSH host key pairs to install. |
|
ECDSA host certificate. |
|
ECDSA private host key. |
|
ECDSA public host key. |
|
Ed25519 host certificate. |
|
Ed25519 private host key. |
|
Ed25519 public host key. |
|
RSA host certificate. |
|
RSA private host key. |
|
RSA public host key. |
|
SSH host key publishing configuration. |
|
Key types to exclude from publishing. |
|
Host key publishing. Choices:
|
|
SSH password authentication. Choices:
|
|
SSH key generation output suppression. Choices:
|
|
Swap configuration. |
|
Swap file path. |
|
Maximum size of the swap file in bytes. |
|
Size of the swap file. |
|
System timezone. |
|
Default user name to create. |
|
Users to create. |
|
User group creation. Choices:
|
|
Doas rules for the user. |
|
Account expiration date. |
|
GECOS field for the user. |
|
Groups to add the user to. |
|
Pre-hashed password for the user. |
|
Home directory for the user. |
|
Days after password expiry before account is disabled. |
|
User password lock. Choices:
|
|
User login name. |
|
Home directory creation skip. Choices:
|
|
User initialization log skip. Choices:
|
|
User group creation skip. Choices:
|
|
Hashed password for the user. |
|
Plain text password for the user. |
|
Primary group for the user. |
|
SELinux user for login mapping. |
|
Login shell for the user. |
|
Email for Snappy user creation. |
|
SSH public keys to add to the user. |
|
SSH IDs to import public keys from. |
|
SSH login redirection to default user. Choices:
|
|
Sudo rule for the user. |
|
System user. Choices:
|
|
Numeric user ID. |
|
Files to write on first boot. |
|
Existing file append mode. Choices:
|
|
Content to write to the file. |
|
Deferred writing until final stage. Choices:
|
|
Encoding of the content. Choices:
|
|
Owner and group in user:group format. |
|
Absolute path of the file to write. |
|
File permissions in octal notation. |
|
URL source for file content. |
|
HTTP headers for the request. |
|
Header name. |
|
Header value. |
|
URL to fetch content from. |
|
Cloud-init vendor data configuration. |
|
Public SSH key allowance. Choices:
|
|
APT package manager configuration. |
|
Regex for matching add-apt-repository entries. |
|
APT configuration to write. |
|
Debconf preseed selections. |
|
Selection set identifier. |
|
Debconf selection lines. |
|
APT suites to disable. |
|
FTP proxy URL for APT. |
|
HTTP proxy for APT. |
|
HTTPS proxy for APT. |
|
Existing sources.list preservation. Choices:
|
|
Primary APT mirror configuration. |
|
APT proxy URL. |
|
Security APT mirror configuration. |
|
Additional APT source definitions. |
|
Source file append mode. Choices:
|
|
Name of the source list file. |
|
Raw GPG key. |
|
GPG key ID to import. |
|
Alternate keyserver to pull key from. |
|
Source entry identifier and filename. |
|
Sources.list entry. |
|
Custom sources.list content. |
|
Commands to run early in the boot process. |
|
CA certificate configuration. |
|
Default CA certificate removal. Choices:
|
|
Trusted CA certificates to add. |
|
Password change settings. |
|
Password expiry after first login. Choices:
|
|
Users with password settings. |
|
User login name. |
|
Password for the user. |
|
Password encoding type. Choices:
|
|
Root login. Choices:
|
|
SSH options applied when root login is disabled. |
|
Disk partitioning configuration. |
|
Partition layout specification. |
|
Device path. |
|
Existing partition table overwrite. Choices:
|
|
Partition table type. Choices:
|
|
Message to display when cloud-init completes. |
|
Fully qualified domain name. |
|
Filesystem creation configuration. |
|
Custom command to create the filesystem. |
|
Device to create the filesystem on. |
|
Extra options to pass to mkfs. |
|
Filesystem type. |
|
Filesystem label. |
|
Existing filesystem overwrite. Choices:
|
|
Partition specification. |
|
Existing filesystem replacement. Choices:
|
|
Groups to create. |
|
Partition growing configuration. |
|
Devices to grow. |
|
Growroot disabled marker bypass. Choices:
|
|
Growpart mode. Choices:
|
|
System hostname. |
|
System locale. |
|
Locale configuration file path. |
|
/etc/hosts management. Choices:
|
|
/etc/resolv.conf management. Choices:
|
|
Default values for mount entries with fewer than six fields. |
|
Mount point definitions. |
|
NTP time synchronization configuration. |
|
Allowed NTP network ranges. |
|
NTP client-specific configuration. |
|
Executable name for the NTP client. |
|
NTP client configuration file path. |
|
Packages needed for the NTP client. |
|
Service name for the NTP client. |
|
Jinja template for NTP client configuration. |
|
NTP. Choices:
|
|
NTP client to use. |
|
NTP peer nodes. |
|
NTP pools. |
|
NTP servers. |
|
Post-upgrade reboot. Choices:
|
|
First-boot package list update. Choices:
|
|
First-boot package upgrade. Choices:
|
|
Packages to install on first boot. |
|
Password for the default user. |
|
Phone home configuration. |
|
Data keys to post. |
|
Number of phone home attempts. |
|
URL to send phone home data to. |
|
Power state change after cloud-init completes. |
|
Condition to evaluate before power state change. |
|
Delay before power state change. |
|
Power state action. Choices:
|
|
Seconds to wait for cloud-init to complete. |
|
FQDN preference over short hostname. Choices:
|
|
DNS resolver configuration. |
|
DNS domain name. |
|
DNS server addresses. |
|
Resolver options for /etc/resolv.conf. |
|
Number of resolver query attempts. |
|
EDNS0 extensions. Choices:
|
|
IPv6 address preference. Choices:
|
|
Minimum dots in a name before absolute query. |
|
Name checking disabling. Choices:
|
|
Automatic config reload disabling. Choices:
|
|
Top-level domain query disabling. Choices:
|
|
Nameserver rotation. Choices:
|
|
Sequential A and AAAA queries. Choices:
|
|
Socket reopen for sequential queries. Choices:
|
|
Resolver query timeout in seconds. |
|
Resolver AD flag trust. Choices:
|
|
TCP DNS queries. Choices:
|
|
DNS search domains. |
|
DNS sort list entries. |
|
Commands to run after cloud-init completes. |
|
Snap package manager configuration. |
|
Snap commands to run. |
|
SSH public keys to add to the default user. |
|
Default SSH host key deletion. Choices:
|
|
SSH key types to generate. |
|
SSH host key pairs to install. |
|
ECDSA host certificate. |
|
ECDSA private host key. |
|
ECDSA public host key. |
|
Ed25519 host certificate. |
|
Ed25519 private host key. |
|
Ed25519 public host key. |
|
RSA host certificate. |
|
RSA private host key. |
|
RSA public host key. |
|
SSH host key publishing configuration. |
|
Key types to exclude from publishing. |
|
Host key publishing. Choices:
|
|
SSH password authentication. Choices:
|
|
SSH key generation output suppression. Choices:
|
|
Swap configuration. |
|
Swap file path. |
|
Maximum size of the swap file in bytes. |
|
Size of the swap file. |
|
System timezone. |
|
Default user name to create. |
|
Users to create. |
|
User group creation. Choices:
|
|
Doas rules for the user. |
|
Account expiration date. |
|
GECOS field for the user. |
|
Groups to add the user to. |
|
Pre-hashed password for the user. |
|
Home directory for the user. |
|
Days after password expiry before account is disabled. |
|
User password lock. Choices:
|
|
User login name. |
|
Home directory creation skip. Choices:
|
|
User initialization log skip. Choices:
|
|
User group creation skip. Choices:
|
|
Hashed password for the user. |
|
Plain text password for the user. |
|
Primary group for the user. |
|
SELinux user for login mapping. |
|
Login shell for the user. |
|
Email for Snappy user creation. |
|
SSH public keys to add to the user. |
|
SSH IDs to import public keys from. |
|
SSH login redirection to default user. Choices:
|
|
Sudo rule for the user. |
|
System user. Choices:
|
|
Numeric user ID. |
|
Files to write on first boot. |
|
Existing file append mode. Choices:
|
|
Content to write to the file. |
|
Deferred writing until final stage. Choices:
|
|
Encoding of the content. Choices:
|
|
Owner and group in user:group format. |
|
Absolute path of the file to write. |
|
File permissions in octal notation. |
|
URL source for file content. |
|
HTTP headers for the request. |
|
Header name. |
|
Header value. |
|
URL to fetch content from. |
|
Action to perform on cluster member evacuation. Choices:
|
|
Number or range of CPUs to expose. |
|
CPU time allowance as percentage or fixed rate. |
|
NUMA nodes to place the instance on. |
|
CPU scheduling priority compared to other instances. |
|
I/O request priority when under load (0-10). |
|
Limit for 1GB hugepages. |
|
Limit for 1MB hugepages. |
|
Limit for 2MB hugepages. |
|
Limit for 64KB hugepages. |
|
Percentage of host memory or fixed value in bytes. |
|
Memory limit enforcement mode. |
|
Memory hotplug allowance. |
|
Huge page memory backing. Choices:
|
|
OOM killer priority compared to other instances. |
|
Instance swap. |
|
Swap usage priority compared to other instances. |
|
Network traffic priority compared to other instances. |
|
Maximum number of processes in the instance. |
|
Comma-separated list of kernel modules to load. |
|
Incremental memory transfer. Choices:
|
|
Target percentage of dirty memory for completion. |
|
Maximum number of incremental memory transfer rounds. |
|
Allow stateful stop/start and snapshots. Choices:
|
|
NVIDIA driver capabilities to expose. |
|
Required CUDA version expression. |
|
Required NVIDIA driver version expression. |
|
Pass NVIDIA runtime libraries into the container. Choices:
|
|
Working directory for OCI containers. |
|
Entrypoint override for OCI containers. |
|
GID to run OCI container process as. |
|
UID to run OCI container process as. |
|
Raw AppArmor profile entries to append. |
|
Raw UID/GID mapping configuration. |
|
Raw LXC configuration to append. |
|
Raw QEMU command-line arguments to append. |
|
Raw QEMU configuration file overrides. |
|
QMP commands to run early in QEMU startup. |
|
QMP commands to run after instance start. |
|
QMP commands to run before instance start. |
|
Scriptlet to run during QEMU startup. |
|
Raw seccomp profile to apply. |
|
Guest agent metrics exposure. Choices:
|
|
BPF attach types to delegate to the instance. |
|
BPF commands to delegate to the instance. |
|
BPF map types to delegate to the instance. |
|
BPF program types to delegate to the instance. |
|
Path at which to mount the BPF filesystem. |
|
Compatibility Support Module for VMs. Choices:
|
|
Guest API. Choices:
|
|
Guest API image access. Choices:
|
|
Base host ID for the instance UID/GID map. |
|
Unique ID map isolation. Choices:
|
|
Size of the UID/GID range to allocate. |
|
IOMMU. Choices:
|
|
Allow running Incus inside the instance. Choices:
|
|
Privileged mode. Choices:
|
|
Deletion protection. Choices:
|
|
UID/GID shift protection. Choices:
|
|
UEFI Secure Boot. Choices:
|
|
AMD SEV encryption. Choices:
|
|
SEV-ES (Encrypted State). Choices:
|
|
SEV session data blob in base64. |
|
SEV guest Diffie-Hellman key in base64. |
|
Allowlist of syscalls to permit. |
|
Syscalls to deny. |
|
Compat syscall blocking for x86 on x86_64. Choices:
|
|
Default syscall deny list. Choices:
|
|
BPF syscall interception. Choices:
|
|
Device map type allowance in intercepted BPF. Choices:
|
|
Mknod syscall interception. Choices:
|
|
Mount syscall interception. Choices:
|
|
Filesystems allowed for intercepted mount calls. |
|
FUSE handler for intercepted mount calls. |
|
UID/GID shifting for intercepted mounts. Choices:
|
|
Sched_setscheduler syscall interception. Choices:
|
|
Setxattr syscall interception. Choices:
|
|
Sysinfo syscall interception. Choices:
|
|
Expiry time for automatic snapshots. |
|
Expiry time for manual snapshots. |
|
Naming pattern for automatic snapshots. |
|
Cron expression for automatic snapshots. |
|
Stopped instance snapshots. Choices:
|
|
Description of the profile. |
|
Devices to attach to the profile. |
|
Enable hardware offloading (none/sriov/vdpa). |
|
PCI address of the device. |
|
Attached or ejected state. Choices:
|
|
Which side to bind on, host or instance. |
|
Boot priority for VMs. |
|
Bus number the USB device is connected to. |
|
Ceph cluster name. |
|
Ceph user name. |
|
Address and port to connect to. |
|
Host network connection state. Choices:
|
|
Instance dependent disk. Choices:
|
|
Device number of the USB device. |
|
Device option ROM exposure. Choices:
|
|
GID of the device owner in the instance. |
|
GPU type. Choices:
|
|
Register VLAN using GARP VLAN Registration Protocol. Choices:
|
|
Name of the interface on the host. |
|
MAC address of the new interface. |
|
DRM card ID of the GPU device. |
|
Override bus for the device. |
|
Caching mode for the disk device. |
|
IPv4 address to assign via DHCP or static allocation. |
|
Select specific external IPv4 address. |
|
Default IPv4 gateway. |
|
IPv4 address on the host-side veth interface. |
|
Custom policy routing table ID for IPv4 (deprecated). |
|
Comma-separated routing table IDs for IPv4 routes. |
|
Parent network IP availability probe. Choices:
|
|
Comma-delimited IPv4 static routes to add on the host. |
|
Comma-delimited IPv4 routes to publish via BGP. |
|
IPv6 address to assign via DHCP or static allocation. |
|
Select specific external IPv6 address. |
|
Default IPv6 gateway. |
|
IPv6 address on the host-side veth interface. |
|
Custom policy routing table ID for IPv6 (deprecated). |
|
Comma-separated routing table IDs for IPv6 routes. |
|
Parent network IP availability probe. Choices:
|
|
Comma-delimited IPv6 static routes to add on the host. |
|
Comma-delimited IPv6 routes to publish via BGP. |
|
Outgoing traffic I/O limit in bit/s. |
|
Incoming traffic I/O limit in bit/s. |
|
I/O limit in byte/s or IOPS (disk), or combined traffic limit in bit/s (nic). |
|
Outgoing traffic priority for queuing. |
|
I/O limit in byte/s or IOPS for read operations. |
|
I/O limit in byte/s or IOPS for write operations. |
|
Address and port to bind and listen on. |
|
Device major number. |
|
Mediated device profile to use. |
|
Existing MIG compute instance ID. |
|
Existing MIG GPU instance ID. |
|
Existing MIG device UUID. |
|
Device minor number. |
|
NIC mode or device permission mode. |
|
Maximum transmission unit of the new interface. |
|
Name of the device. |
|
NAT-based proxying. Choices:
|
|
Parent NIC name to nest this OVN NIC under. |
|
Managed network to attach the NIC to. |
|
NIC type when not using a managed network. |
|
Parent host device name. |
|
Path inside the instance. |
|
Resource manager path inside the instance. |
|
PCI address of the parent host device. |
|
Storage pool for the disk device. |
|
Product ID of the parent host device. |
|
Controls how a bind-mount is shared between instance and host. |
|
HAProxy PROXY protocol for sender information. Choices:
|
|
Transmit queue length for the NIC. |
|
File system specific mount options. |
|
Read-only mount. Choices:
|
|
Recursive source mount. Choices:
|
|
Source existence requirement. Choices:
|
|
Comma-separated list of network ACLs to apply. |
|
Default action for egress traffic not matching any ACL rule. |
|
Unmatched egress traffic logging. Choices:
|
|
Default action for ingress traffic not matching any ACL rule. |
|
Unmatched ingress traffic logging. Choices:
|
|
GID to drop privilege to. |
|
IPv4 address spoofing prevention. Choices:
|
|
IPv6 address spoofing prevention. Choices:
|
|
MAC address spoofing prevention. Choices:
|
|
NIC port isolation. Choices:
|
|
Promiscuous mode for unknown traffic. Choices:
|
|
Trusted NIC configuration. Choices:
|
|
UID to drop privilege to. |
|
Serial number of the USB device. |
|
UID/GID shifting overlay. Choices:
|
|
Disk size limit. |
|
Size for the VM runtime state file system. |
|
Source of a file system, block device, or host device path. |
|
Type of the device. Choices:
|
|
UID of the device owner in the instance. |
|
Vendor ID of the parent host device. |
|
VLAN ID to attach to. |
|
Comma-separated VLAN IDs or ranges for tagged traffic. |
|
VRF name on the host for the host-side interface and routes. |
|
World Wide Name assignment. Choices:
|
|
Name of the profile. |
|
Incus project to scope this profile to. |
|
Desired state of the profile. 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. |
|
Incus project to scope profiles to. |
|
Server certificate content for API verification. |
|
TLS server certificate path for API verification. |
|
Incus Unix socket path. |
|
Desired state of the profiles. Choices:
|
|
Authentication token for the Incus API. |
|
URL of the Incus server API. |
|
TLS certificate validation. Choices:
|
Examples
- name: Ensure incus profiles
hosts: incus
tasks:
- name: Ensure incus profiles
ansible.builtin.import_role:
name: damex.incus.incus_profiles
vars:
incus_profiles:
- name: default
config:
security.nesting: "true"
devices:
- name: root
type: disk
pool: local
path: /
- name: eth0
type: nic
network: incusbr0