aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2023-06-10 22:50:30 -0400
committerspmfox <spmfox@foxwd.com>2023-06-10 22:50:30 -0400
commit843ad6659cc0bd6b8baaf2033e680d32a0531b2d (patch)
tree1f421307396ce3805a07b33a2cb6d82ee0fbc300 /README.md
parenta93e04656b8dc9bfbce998d0ec2ca299f4120629 (diff)
adding tags, adding guest configuration
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
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,