fix(virtualization): add XML safety attributes and switch xen to virtio

This commit is contained in:
2026-02-20 20:18:49 +01:00
parent 524356cf8d
commit 9f9a4b38b8
4 changed files with 10 additions and 5 deletions

View File

@@ -23,7 +23,6 @@
loop_control:
label: "{{ item | to_json }}"
extended: true
changed_when: false
- name: Create VM disks
delegate_to: localhost
@@ -61,6 +60,7 @@
- "/tmp/cloud-network-config-{{ hostname }}.yml"
creates: "{{ virtualization_libvirt_cloudinit_path }}"
# uri defaults to qemu:///system (local libvirtd)
- name: Create VM using libvirt
delegate_to: localhost
community.libvirt.virt: