Write the README and remove variable duplicate storage_path for vm_path

This commit is contained in:
2024-03-22 04:53:51 +01:00
parent 8a2c086bf7
commit 95aa4d7189
4 changed files with 82 additions and 5 deletions

View File

@@ -47,7 +47,7 @@
- name: Remove cloud-init disk
file:
path: "{{ storage_path | default('/var/lib/libvirt/images/') }}{{ hostname }}-cloudinit.iso"
path: "{{ vm_path | default('/var/lib/libvirt/images/') }}{{ hostname }}-cloudinit.iso"
state: absent
- name: Get list of CD-ROM devices