diff --git a/templates/syncthing/config.j2 b/templates/syncthing/config.j2 index b3d1eed..88a9207 100644 --- a/templates/syncthing/config.j2 +++ b/templates/syncthing/config.j2 @@ -1,18 +1,18 @@ - {% for folder in syncthing_folders %} + {% for folder in syncthing_folders -%} - {% for id in folder.devices %} + {% for id in folder.devices -%} - {% endfor %} + {%- endfor %} basic 20 @@ -48,9 +48,9 @@ false false - {% endfor %} + {%- endfor %} - {% for device in syncthing_devices %} + {% for device in syncthing_devices -%} 0 0 - {% endfor %} + {%- endfor %}
{{ syncthing_listen_address }}:{{ syncthing_gui_port }}