{% for disk in disks %} vars.disks[" {{ disk }}"] = { disk_partitions = "{{ disk }}" disk_cfree = "5%" disk_wfree = "10%" } {% endfor %}