Run keepalived in unicast mode.

This commit is contained in:
Andrea Dell'Amico 2020-10-02 17:02:16 +02:00
parent 3966944def
commit 191d831fd4
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ haproxy_ha_with_keepalived: True
keepalived_install: True
keepalived_vrouter_id: '{{ docker_swarm_keepalived_vrouter_id }}'
keepalived_use_unicast: False
keepalived_use_unicast: True
keepalived_floating_ip1: '{{ docker_swarm_keepalived_floating_ip }}'
keepalived_instance1_name: '{{ docker_swarm_keepalived_instance_name }}'
keepalived_nagios_check: False
@ -35,6 +35,8 @@ keepalived_instances:
- '{{ keepalived_script1_name }}'
authentication: PASS
authpass: '{{ keepass_auth_pwd }}'
keepalived_unicast_src_ip: '{{ ansible_default_ipv4.address }}'
keepalived_unicast_peer_ip: '{{ keepalived_unicast_remote_peer }}'
keepalived_notify_extra_params: |
case $STATE in