forked from ccchb/ansible
5 lines
181 B
Django/Jinja
5 lines
181 B
Django/Jinja
{% set disks = [] %}
|
|
{% for disk in item.0.disks %}
|
|
{{- disks.append("hd:/dev/zvol/"+bhyve_pool+"/bhyve/guests/"+item.0.name+"/"+disk.name) -}}
|
|
{% endfor %}
|
|
{{ disks | join(",") }}
|