ansible-role-apache/lamp_haproxy/group_vars/lbservers
Tim Gerla db5329949f Minor improvements
- default to ansible_default_ipv4.interface
- move "repository" variable to webservers
- mention 1.2 and CentOS 6 requirements in readme
2013-04-19 13:35:24 -07:00

25 lines
623 B
Text

---
# Variables for the HAproxy configuration
# HAProxy supports "http" and "tcp". For SSL, SMTP, etc, use "tcp".
mode: http
# Port on which HAProxy should listen
listenport: 8888
# A name for the proxy daemon, this wil be the suffix in the logs.
daemonname: myapplb
# Balancing Algorithm. Available options:
# roundrobin, source, leastconn, source, uri
# (if persistance is required use, "source")
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 }}'