Removing the excess borders.
This commit is contained in:
parent
12a9447c00
commit
77ed019bfe
@ -14,13 +14,16 @@
|
|||||||
{%- macro config_entries(data, indents) -%}
|
{%- macro config_entries(data, indents) -%}
|
||||||
{%- if data is string or data is number -%}
|
{%- if data is string or data is number -%}
|
||||||
{{- " " }}{{ data }}
|
{{- " " }}{{ data }}
|
||||||
{%- elif data is mapping -%}
|
{%- else -%}
|
||||||
|
{{- " {" -}}
|
||||||
|
{%- if data is mapping -%}
|
||||||
{%- for entry in data|dictsort -%}
|
{%- for entry in data|dictsort -%}
|
||||||
{{ entry[0]|indent(indents, True) }} {
|
{{ entry[0]|indent(indents, True) }}
|
||||||
{{- config_entries(entry[1], indents + 2) -}}
|
{{- config_entries(entry[1], indents + 2) -}}
|
||||||
{{ '}'|indent(indents, True) }}{{ '\n' }}
|
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
{{ '}'|indent(indents, True) }}{{ '\n' }}
|
||||||
|
{%- endif -%}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{{ config_entries(keepalived_final_values, 0) }}
|
{{ config_entries(keepalived_final_values, 0) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user