Go to file
Radar231 982ec37bc8 switched to lxd-deploy role 2023-12-17 20:55:26 -05:00
README.md additional renaming 2023-12-16 07:55:32 -05:00
example-host-inventory-file.yml split off setup-host.yml into a separate playbook repos 2023-12-16 06:38:42 -05:00
lxd-deploy.yml switched to lxd-deploy role 2023-12-17 20:55:26 -05:00

README.md

lxd-deploy playbook

Introduction

Playbook to deploy an LXD Container or VM as a new network host.

This playbook will first deploy a new LXD Container or VM. It will then use the lxd connection plugin to first do an initial network configuration on the host, and will then make sure openssh-server is installed and that the root user has a set of management ssh keys in its 'authorized_keys' file.

It will run through a number of roles to do package and user configuration, before finishing up with custom configurations for the specific target host.

This playbook can be run using the following command line;

ansible-playbook -i <inventory file | IP,> lxd-deploy.yml 

ie,
ansible-playbook -i 192.168.1.123,  lxd-deploy.yml