ansible-role-apache/lamp_haproxy/group_vars/lbservers
Tim Gerla af427cad37 Some various fixups and interface name handling.
- Add 'iface' group variable to specify the network interface on which the
  systems should listen.
- Add a couple of missing playbook inclusions
- Set up EPEL on all hosts for socat and haproxy
2013-03-13 07:46:18 -07:00

18 lines
476 B
Text

---
# File for the HAproxy configuration
# Supports http and tcp, for ssl smtp etc.. use tcp
mode: http
# port on which the lb should listen
listenport: 8888
# A name for the proxy daemon, this would be the suffix in the logs.
daemonname: myapplb
# Balancing Algorithm Avalilable options: roundrobin,source,leastconn,source,uri
# (if persistance is required use source)
balance: roundrobin
# Which Ethernet interface on which the load balancer should listen
iface: eth0