community / community.general / 8.5.0 / connection / lxd Run tasks in LXD instances via C(lxc) CLI Authors: Matt Clay (@mattclay) <matt@mystile.com>community.general.lxd (8.5.0) — connection
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
Run commands or put/fetch files to an existing instance using C(lxc) CLI.
remote: default: local description: - Name of the LXD remote to use. vars: - name: ansible_lxd_remote version_added: 2.0.0 version_added_collection: community.general project: description: - Name of the LXD project to use. vars: - name: ansible_lxd_project version_added: 2.0.0 version_added_collection: community.general executable: default: /bin/sh description: - Shell to use for execution inside instance. vars: - name: ansible_executable - name: ansible_lxd_executable remote_addr: default: inventory_hostname description: - Instance (container/VM) identifier. - Since community.general 8.0.0, a FQDN can be provided; in that case, the first component (the part before C(.)) is used as the instance identifier. vars: - name: inventory_hostname - name: ansible_host - name: ansible_lxd_host