damex.incus.incus_repository role – Ensure Incus repository.
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_repository.
Entry point main – Ensure Incus repository.
Synopsis
Ensure the Incus repository.
Parameters
Parameter |
Comments |
|---|---|
GPG key ID for the Incus APT repository. |
|
URL of the GPG key for the Incus APT repository. |
|
List of APT repository components to enable. |
|
Distribution component override for the APT repository. |
|
Name of the Incus APT repository source entry. |
|
Base URL of the Incus APT repository. |
Examples
- name: Ensure incus repository
hosts: incus
tasks:
- name: Ensure incus repository
ansible.builtin.import_role:
name: damex.incus.incus_repository
- name: Ensure incus LTS repository
hosts: incus
tasks:
- name: Ensure incus LTS repository
ansible.builtin.import_role:
name: damex.incus.incus_repository
vars:
incus_repository_apt_repository_url: https://pkgs.zabbly.com/incus/lts-6.0