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

incus_repository_apt_key_id

string

GPG key ID for the Incus APT repository.

incus_repository_apt_key_url

string

URL of the GPG key for the Incus APT repository.

incus_repository_apt_repository_components

list / elements=string

List of APT repository components to enable.

incus_repository_apt_repository_distribution

string

Distribution component override for the APT repository.

incus_repository_apt_repository_name

string

Name of the Incus APT repository source entry.

incus_repository_apt_repository_url

string

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