fix(virtualization): add XML safety attributes and switch xen to virtio
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
loop: "{{ system_cfg.disks }}"
|
||||
loop_control:
|
||||
label: "{{ item | to_json }}"
|
||||
changed_when: false
|
||||
|
||||
# community.vmware: full-featured guest management
|
||||
- name: Create VM in vCenter
|
||||
delegate_to: localhost
|
||||
vars:
|
||||
@@ -34,6 +34,7 @@
|
||||
cluster: "{{ hypervisor_cfg.cluster }}"
|
||||
folder: "{{ system_cfg.path if system_cfg.path | string | length > 0 else omit }}"
|
||||
name: "{{ hostname }}"
|
||||
# Generic guest ID — VMware auto-detects OS post-install
|
||||
guest_id: otherLinux64Guest
|
||||
annotation: |
|
||||
{{ note if note is defined else '' }}
|
||||
@@ -90,6 +91,7 @@
|
||||
state: present
|
||||
no_log: true
|
||||
|
||||
# vmware.vmware: modern collection for power operations
|
||||
- name: Start VM in vCenter
|
||||
when: virtualization_tpm2_enabled | bool
|
||||
delegate_to: localhost
|
||||
|
||||
Reference in New Issue
Block a user