summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/defaults
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-08-21 23:49:49 -0400
committerAndrew Butcher <abutcher@redhat.com>2015-11-04 19:57:21 -0500
commit3778662ef816b2bb0a3788ed65229b45622a0139 (patch)
treea64dec3e317a55d87d86a5262ca2b598f625c9de /roles/haproxy/defaults
parent399b19864653806c769ac954a6c79ef13a895d64 (diff)
downloadopenshift-3778662ef816b2bb0a3788ed65229b45622a0139.tar.gz
openshift-3778662ef816b2bb0a3788ed65229b45622a0139.tar.bz2
openshift-3778662ef816b2bb0a3788ed65229b45622a0139.tar.xz
openshift-3778662ef816b2bb0a3788ed65229b45622a0139.zip
Start of true master ha
Diffstat (limited to 'roles/haproxy/defaults')
-rw-r--r--roles/haproxy/defaults/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/haproxy/defaults/main.yml b/roles/haproxy/defaults/main.yml
new file mode 100644
index 000000000..c002efdbc
--- /dev/null
+++ b/roles/haproxy/defaults/main.yml
@@ -0,0 +1,13 @@
+---
+haproxy_frontends:
+- name: main
+ bind: "*:80"
+ default_backend: default
+
+haproxy_backends:
+- name: default
+ balance: roundrobin
+ servers:
+ - name: web01
+ address: 127.0.0.1:9000
+ opts: check