damex.incus.incus role – Ensure Incus.
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.
Entry point main – Ensure Incus.
Synopsis
Ensure Incus.
Parameters
Parameter |
Comments |
|---|---|
Name of the APT pinning preference file. |
|
APT pin specification for package priority. |
|
APT pin priority value for the Incus repository. |
|
Name of the Incus LXCFS systemd service. |
|
Desired state of the Incus LXCFS systemd service. Choices:
|
|
Name of the Incus server package. |
|
Desired state of the Incus server package. Choices:
|
|
Version of the Incus server package to install. |
|
Name of the Incus systemd service. |
|
Desired state of the Incus systemd service. Choices:
|
|
Name of the Incus systemd socket unit. |
|
Desired state of the Incus systemd socket unit. Choices:
|
|
Name of the Incus user systemd service. |
|
Desired state of the Incus user systemd service. Choices:
|
|
Name of the Incus user systemd socket unit. |
|
Desired state of the Incus user systemd socket unit. Choices:
|
Examples
- name: Ensure incus
hosts: incus
tasks:
- name: Ensure incus
ansible.builtin.import_role:
name: damex.incus.incus
- name: Ensure incus with specific version
hosts: incus
tasks:
- name: Ensure incus with specific version
ansible.builtin.import_role:
name: damex.incus.incus
vars:
incus_package_name: incus-lts
incus_package_version: 6.0.4-zabbly1