Skip to content

Instantly share code, notes, and snippets.

@v1k0d3n
Created June 2, 2016 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v1k0d3n/1a30bff4d4c33d5885ebf5c9f8a6b355 to your computer and use it in GitHub Desktop.
Save v1k0d3n/1a30bff4d4c33d5885ebf5c9f8a6b355 to your computer and use it in GitHub Desktop.
## HAProxy
# Uncomment this to disable keepalived installation (cf. documentation)
# haproxy_use_keepalived: False
#
# HAProxy Keepalived configuration (cf. documentation)
# Make sure that this is set correctly according to the CIDR used for your
# internal and external addresses.
haproxy_keepalived_external_vip_cidr: "10.2.32.0/24" # "{{external_lb_vip_address}}/32"
haproxy_keepalived_internal_vip_cidr: "10.2.31.0/24" # "{{internal_lb_vip_address}}/32"
haproxy_keepalived_external_interface: br-vlan
haproxy_keepalived_internal_interface: br-mgmt
# Defines the default VRRP id used for keepalived with haproxy.
# Overwrite it to your value to make sure you don't overlap
# with existing VRRPs id on your network. Default is 10 for the external and 11 for the
# internal VRRPs
haproxy_keepalived_external_virtual_router_id: 20
# haproxy_keepalived_internal_virtual_router_id:
# Defines the VRRP master/backup priority. Defaults respectively to 100 and 20
# haproxy_keepalived_priority_master:
# haproxy_keepalived_priority_backup:
# Keepalived default IP address used to check its alive status (IPv4 only)
# keepalived_ping_address: "193.0.14.129"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment