ansible.builtin.lxd (v2.9.27) — connection

Run tasks in lxc containers via lxc CLI

| "added in version" 2.0 of ansible.builtin"

Authors: Matt Clay <matt@mystile.com>

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Run commands or put/fetch files to an existing lxc container using lxc CLI

Inputs

    
executable:
    default: /bin/sh
    description:
    - shell to use for execution inside container
    vars:
    - name: ansible_executable
    - name: ansible_lxd_executable

remote_addr:
    default: inventory_hostname
    description:
    - Container identifier
    vars:
    - name: ansible_host
    - name: ansible_lxd_host