diff --git a/keepalived/templates/keepalived.jinja b/keepalived/templates/keepalived.jinja index a9e216f..31f498b 100644 --- a/keepalived/templates/keepalived.jinja +++ b/keepalived/templates/keepalived.jinja @@ -16,7 +16,7 @@ {%- for entry in data|dictsort -%} {{ entry[0]|indent(indents, True) }} { {{ config_entries(entry[1], indents + 2) }} -}{{ '\n' }} +{{ '}\n'|indent(indents, True) }} {%- endfor -%} {%- endif -%} {%- endmacro -%}