2019-05-10 01:49:38 +02:00
|
|
|
########################################################################
|
|
|
|
# File managed by Salt at <{{ source }}>.
|
|
|
|
# Your changes will be overwritten.
|
|
|
|
########################################################################
|
|
|
|
|
|
|
|
{%- from "keepalived/macro.jinja" import print_config %}
|
2020-04-06 22:40:52 +02:00
|
|
|
{%- set sections = ['global_defs', 'vrrp_sync_group', 'vrrp_script', 'vrrp_instance', 'virtual_server'] %}
|
2019-05-10 01:49:38 +02:00
|
|
|
{%- for section in sections %}
|
2020-01-22 22:30:54 +01:00
|
|
|
{{ print_config({ section: config[section]|d({}) }) }}
|
2019-05-10 01:49:38 +02:00
|
|
|
{%- endfor %}
|