mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
db5329949f
- default to ansible_default_ipv4.interface - move "repository" variable to webservers - mention 1.2 and CentOS 6 requirements in readme
25 lines
623 B
Text
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 }}'
|