community.general.incus (8.5.0) — connection

Run tasks in Incus instances via the Incus CLI.

| "added in version" 8.2.0 of community.general"

Authors: Stéphane Graber (@stgraber)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Run commands or put/fetch files to an existing Incus instance using Incus CLI.

Inputs

    
remote:
    default: local
    description:
    - The name of the Incus remote to use (per C(incus remote list)).
    - Remotes are used to access multiple servers from a single client.
    vars:
    - name: ansible_incus_remote

project:
    default: default
    description:
    - The name of the Incus project to use (per C(incus project list)).
    - Projects are used to divide the instances running on a server.
    vars:
    - name: ansible_incus_project

executable:
    default: /bin/sh
    description:
    - The shell to use for execution inside the instance.
    vars:
    - name: ansible_executable
    - name: ansible_incus_executable

remote_addr:
    default: inventory_hostname
    description:
    - The instance identifier.
    vars:
    - name: inventory_hostname
    - name: ansible_host
    - name: ansible_incus_host