forked from ISTI-ansible-roles/ansible-roles
keepalived: differentiate the unicast ip address between configurations.
This commit is contained in:
parent
d53f160afb
commit
361f51e152
|
@ -67,10 +67,10 @@ vrrp_instance {{ instance.name }} {
|
|||
{% endif %}
|
||||
{% if keepalived_use_unicast %}
|
||||
|
||||
unicast_src_ip {{ keepalived_unicast_src_ip }}
|
||||
unicast_src_ip {{ instance.keepalived_unicast_src_ip }}
|
||||
unicast_peer {
|
||||
|
||||
{% for ipaddr in keepalived_unicast_peer_ip %}
|
||||
{% for ipaddr in instance.keepalived_unicast_peer_ip %}
|
||||
{{ ipaddr }}
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue