# Pastebin cexpH9Is {%- from "test/map.jinja" import data with context %} {% for node, n_config in data.nodes.iteritems() %} .. do stuff {% for service, s_config in n_config.services.iteritems() %} .. do stuff {% endfor %} {% endfor %}