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

Run tasks in lxc containers via lxc python library

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

Authors: Joerg Thalheim <joerg@higgsboson.tk>

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 python library

Inputs

    
executable:
    default: /bin/sh
    description:
    - Shell executable
    vars:
    - name: ansible_executable
    - name: ansible_lxc_executable

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