{% for section in salt['pillar.get']('traefik:config') -%} {% for key, val in section.iteritems() -%} {{ key }} = {{ val }} {% endfor -%} {% endfor -%}