Go to file
Radar231 ab7f4c72a0 moved ssh keys to vars 2023-12-18 19:37:36 -05:00
files initial checkin 2023-12-17 20:44:48 -05:00
meta initial checkin 2023-12-17 20:44:48 -05:00
tasks moved ssh keys to vars 2023-12-18 19:37:36 -05:00
vars moved ssh keys to vars 2023-12-18 19:37:36 -05:00
README.md initial checkin 2023-12-17 20:44:48 -05:00

README.md

Ansible Role: lxd-deploy

Introduction

This role will deploy an LXD container or VM to a selected LXD host, either local or remote.

Originally written to use the lxd_container module. Unfortunately, this module only seems reliable when deploying to the local host, or a target in a cluster. Deploying to a remote host (via the 'lxc remote' feature) seems to be problematic, so for now, deployment is accomplished using 'lxc launch' from a shell command. This does mean, however, that lxd must be installed on the host running the ansible deployment role, and any remote hosts to be deployed to must be configured as remotes, using the 'lxc remote' feature.

This role will then configure network, sshd and selected packages on a newly deployed LXD container or VM.