summaryrefslogtreecommitdiffstats
path: root/roles/haproxy
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-01-20 14:59:47 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-01-20 14:59:47 -0500
commitbdedb63403ea582c4aaa5f56caed302f51744de2 (patch)
treecf26be9b05f3b97dbdafb7bae109b0707da0a0d4 /roles/haproxy
parentf9f6d96c55050e3b1fe5d4cdad3f087f2c0305f3 (diff)
parent670fc1cff44bd0ad82c0dd2748c5c028f0f304ed (diff)
downloadopenshift-bdedb63403ea582c4aaa5f56caed302f51744de2.tar.gz
openshift-bdedb63403ea582c4aaa5f56caed302f51744de2.tar.bz2
openshift-bdedb63403ea582c4aaa5f56caed302f51744de2.tar.xz
openshift-bdedb63403ea582c4aaa5f56caed302f51744de2.zip
Merge pull request #1244 from abutcher/api-sysconfig
Native ha port fixes
Diffstat (limited to 'roles/haproxy')
-rw-r--r--roles/haproxy/defaults/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/haproxy/defaults/main.yml b/roles/haproxy/defaults/main.yml
index 7ba5bd485..937d94209 100644
--- a/roles/haproxy/defaults/main.yml
+++ b/roles/haproxy/defaults/main.yml
@@ -1,4 +1,6 @@
---
+haproxy_frontend_port: 80
+
haproxy_frontends:
- name: main
binds:
@@ -18,4 +20,4 @@ os_firewall_allow:
- service: haproxy stats
port: "9000/tcp"
- service: haproxy balance
- port: "8443/tcp"
+ port: "{{ haproxy_frontend_port }}/tcp"