{{ hostvars[item]['server_hostname'] }}
{{ hostvars[item]['server_vm_ram'] }}
{{ hostvars[item]['server_vm_ram'] }}
{% set _vcpus_threads = ((hostvars[item]['server_vm_vcpus'] | int) // 2) %}
{% set vcpus_threads = (_vcpus_threads | int) == 0 | ternary('1', _vcpus_threads) %}
{% set vcpus = (hostvars[item]['server_vm_vcpus'] | int) * (vcpus_threads | int) %}
{{ vcpus | int }}
/machine
hvm
destroy
restart
destroy
/usr/bin/kvm-spice
{% for _key, _value in hostvars[item]['server_networks'].items()|sort(attribute='1.iface') %}
{% if _key == hostvars[item]['server_vm_primary_network'] %}
{% endif %}
{% endfor %}
/dev/random