{% set combined_group = groups.hdfs %} {% for dev_info in combined_group %} {{dev_info}} {% endfor %}