diff options
| author | spmfox <spmfox@foxwd.com> | 2023-06-10 22:50:30 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2023-06-10 22:50:30 -0400 |
| commit | 843ad6659cc0bd6b8baaf2033e680d32a0531b2d (patch) | |
| tree | 1f421307396ce3805a07b33a2cb6d82ee0fbc300 /README.md | |
| parent | a93e04656b8dc9bfbce998d0ec2ca299f4120629 (diff) | |
adding tags, adding guest configuration
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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, |
