{% for hostname, tags in targets -%} {{ hostname }}: {% for key, value in tags -%} {{key}}={{value}} {% endfor %} {% endfor %}