damex.incus.incus role – Ensure Incus.
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.
Entry point main – Ensure Incus.
Synopsis
Ensure Incus.
Parameters
Parameter |
Comments |
|---|---|
APT pinning preference file name. |
|
APT pin specification. |
|
APT pin priority value. |
|
Incus server package name. |
|
Incus server package state. Choices:
|
|
Incus server package version. |
|
Incus systemd service name. |
|
Incus systemd service state. Choices:
|
|
Incus systemd socket unit name. |
|
Incus Unix socket file path. |
|
Incus systemd socket unit state. Choices:
|
|
Incus user systemd service name. |
|
Incus user systemd service state. Choices:
|
|
Incus user systemd socket unit name. |
|
Incus user Unix socket file path. |
|
Incus user systemd socket unit state. 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