Skip to content

Commit

Permalink
Merge pull request #111 from miloaec/master
Browse files Browse the repository at this point in the history
Add virtual_rules to template
  • Loading branch information
evrardjp authored Sep 9, 2019
2 parents b9013a7 + 3b349fd commit 8bbfc28
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ vrrp_instance {{ name }} {
{% endfor %}
}
{% endif %}
{% if instance.virtual_rules is defined %}
virtual_rules {
{% for rule in instance.virtual_rules %}
{{ rule }}
{% endfor %}
}
{% endif %}
{% if instance.track_scripts is defined %}
track_script {
{% for track_script in instance.track_scripts %}
Expand Down

0 comments on commit 8bbfc28

Please sign in to comment.