forked from infra/ansible
6 lines
230 B
Text
6 lines
230 B
Text
|
|
{% for key, value in virt_info.items() %}
|
||
|
|
{% if value and 'state' in value %}
|
||
|
|
{{inventory_hostname}}:{{key}}:{{value['state']}}:{{value['autostart']}}:{{value['nrVirtCpu']}}:{{value['memory']}}
|
||
|
|
{% else %}
|
||
|
|
{% endif %}
|
||
|
|
{% endfor %}
|