theko2fi.multipass.multipass (0.3.0) — connection

Run tasks in Multipass virtual machines

Authors: Kenneth KOFFI (@theko2fi)

Install collection

Install with ansible-galaxy collection install theko2fi.multipass:==0.3.0


Add to requirements.yml

  collections:
    - name: theko2fi.multipass
      version: 0.3.0

Description

Run commands or put/fetch files to an existing multipass VM.

Uses the multipass CLI to execute commands in the virtual machine.

Inputs

    
remote_addr:
    default: inventory_hostname
    description:
    - The name of the VM you want to access.
    vars:
    - name: inventory_hostname
    - name: ansible_host
    - name: ansible_multipass_host