damex.incus.incus_client role – Ensure Incus client.
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_client.
Entry point main – Ensure Incus client.
Synopsis
Ensure Incus client.
Parameters
Parameter |
Comments |
|---|---|
Incus client APT preference file name. |
|
Incus client APT pin specification. |
|
Incus client APT pin priority. |
|
Incus client configuration. |
|
Incus client command aliases. |
|
Default remote name. |
|
Incus client default settings. |
|
SPICE console connection command. |
|
Console type. |
|
List commands output format. |
|
Remote server definitions. |
|
Remote server address. |
|
Remote name. |
|
Remote communication protocol. |
|
Public remote. Choices:
|
|
Incus client configuration directory path. |
|
Incus client configuration file path. |
|
Client configuration files group. |
|
Incus client package name. |
|
Incus client package state. Choices:
|
|
Client configuration files owner. |
Examples
- name: Ensure incus client
hosts: incus
tasks:
- name: Ensure incus client
ansible.builtin.import_role:
name: damex.incus.incus_client
- name: Ensure incus client with remote servers
hosts: workstations
tasks:
- name: Ensure incus client with remote servers
ansible.builtin.import_role:
name: damex.incus.incus_client
vars:
incus_client_configuration:
default-remote: local
remotes:
- name: local
addr: unix://
protocol: incus
public: false
- name: production
addr: https://incus.example.com:8443
protocol: incus
public: false