Flat network fields (bridge, ip, prefix, gateway, vlan) are now converted into a single-entry interfaces[] list during normalization. All virtualization tasks (proxmox, vmware, libvirt, xen) and configuration (NM, Alpine, Void) now consume system_cfg.network.interfaces exclusively for multi-NIC support. Also fixes: user.key -> user.keys in system_cfg output, strict list-only DNS in example inventories, removes legacy single-MAC virtualization_mac_address default.
23 lines
689 B
YAML
23 lines
689 B
YAML
---
|
|
virtualization_libvirt_image_dir: >-
|
|
{{
|
|
system_cfg.path
|
|
if system_cfg is defined and (system_cfg.path | string | length) > 0
|
|
else '/var/lib/libvirt/images'
|
|
}}
|
|
virtualization_libvirt_disk_path: >-
|
|
{{ [virtualization_libvirt_image_dir, hostname ~ '.qcow2'] | ansible.builtin.path_join }}
|
|
virtualization_libvirt_cloudinit_path: >-
|
|
{{ [virtualization_libvirt_image_dir, hostname ~ '-cloudinit.iso'] | ansible.builtin.path_join }}
|
|
virtualization_xen_disk_path: /var/lib/xen/images
|
|
|
|
virtualization_tpm2_enabled: >-
|
|
{{
|
|
(system_cfg.luks.enabled | bool)
|
|
and (system_cfg.luks.auto | bool)
|
|
and (
|
|
(system_cfg.luks.method | lower)
|
|
== 'tpm2'
|
|
)
|
|
}}
|