ansible/roles/keepalived/defaults/main.yml

22 lines
617 B
YAML

# vim:ft=ansible:
# Node priority. Should be assigned differently for each host
keepalived_priority: 50
# Node state. Should be "MASTER" on the master and "BACKUP" on backup machines
keepalived_state: "BACKUP"
# The interface to assign the VIP to
keepalived_interface: "eth0"
# The virtual router ID
keepailved_virtual_router_id: 51
# The VIP to pass around. Include the subnet mask like so:
# 192.168.0.5/24
keepalived_vip: ""
# Advertisement interval in seconds
keepalived_advert_int: 1
# Name of the vrrp instance
keepalived_vrrp_instance_name: "VI_1"
# Keepalived authentication password
#keepalived_auth_pass