{% for module, setting in settings.items() -%} [{{ module }}] {%- for key, value in setting.items() %} {{ key }}={{ value }} {%- endfor %} {%- endfor %}