From 843ad6659cc0bd6b8baaf2033e680d32a0531b2d Mon Sep 17 00:00:00 2001 From: spmfox Date: Sat, 10 Jun 2023 22:50:30 -0400 Subject: adding tags, adding guest configuration --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index baa7577..be4abaa 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,12 @@ all: parent_dataset: "zfs-parent-dataset/zfs-child-dataset" network: "bridge:vm-bridge" root_password: "{{ lookup('password', '/dev/null length=32 chars=ascii_letters,digits') }}" - root_ssh_key: "" + user: "admin" + ssh_key: "" + packages: + - qemu-guest-agent + services: + - qemu-guest-agent ``` An example with multiple VMs is located in the ```docs``` directory. @@ -48,6 +53,12 @@ An example with multiple VMs is located in the ```docs``` directory. - Kickstart files and compatible distros are required - The delete play will completely remove any VMs or datasets defined in your inventory +## Known Issues +- Currently cannot delete VMs with libvirt snapshots + - community.libvirt.virt module has upstream code to do this, but it has not been released yet + - Workaround is to manually delete snapshots from VM before deletion + - Does NOT apply to ZFS snapshots + ## Architecture The KVM and ZFS tasks are split into different roles, ```libvirt``` and ```zfs```. These roles contain all the needed tasks and variables for each feature. Variables for libvirt tasks start with ```libvirt_``` and zfs ones start with ```zfs_```. These are the "real" variables that are used in the tasks, -- cgit