{{ hostvars[target_vm]['vm']['name'] }}
{{ hostvars[target_vm]['vm']['memory'] }}
{{ hostvars[target_vm]['vm']['cpu'] }}
{{ hostvars[target_vm]['vm']['shares'] }}
{{ hostvars[target_vm]['vm']['cpu_pin'] | indent(8) }}
hvm
/usr/share/OVMF/OVMF_CODE_4M.ms.fd
{{ node['libvirt_path'] }}/qemu/nvram/{{ hostvars[target_vm]['vm']['name'] }}_VARS.fd
destroy
restart
destroy
{% if target_vm == 'fw' %}
{% else %}
{% endif %}
{% if target_vm == 'app' %}
{% set device=hostvars['vmm']['hardware']['igpu'] %}
{% endif %}
{% if hostvars[target_vm]['vm']['data_storage'] is defined %}
{% set pool = hostvars[target_vm]['vm']['data_storage']['pool'] %}
{% set disk = hostvars['vmm']['hardware']['disk'][pool]['fs'] %}
{% endif %}