ansible-role-apache/lamp_haproxy/group_vars/lbservers

26 lines
623 B
Text
Raw Normal View History

2013-03-12 08:35:13 +01:00
---
# Variables for the HAproxy configuration
2013-03-12 08:35:13 +01:00
# HAProxy supports "http" and "tcp". For SSL, SMTP, etc, use "tcp".
2013-03-12 08:35:13 +01:00
mode: http
# Port on which HAProxy should listen
2013-03-12 08:35:13 +01:00
listenport: 8888
# A name for the proxy daemon, this wil be the suffix in the logs.
2013-03-12 08:35:13 +01:00
daemonname: myapplb
# Balancing Algorithm. Available options:
# roundrobin, source, leastconn, source, uri
# (if persistance is required use, "source")
2013-03-12 08:35:13 +01:00
balance: roundrobin
# Ethernet interface on which the load balancer should listen
# Defaults to the first interface. Change this to:
#
# iface: eth1
#
# ...to override.
#
iface: '{{ ansible_default_ipv4.interface }}'