summaryrefslogtreecommitdiffstats
path: root/roles/haproxy
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-20 11:14:26 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-20 11:24:57 -0500
commit670fc1cff44bd0ad82c0dd2748c5c028f0f304ed (patch)
treed4144425047e05bd3d903da161e99924066904dc /roles/haproxy
parent4030e9ae829db084d5182b80d1d35b909ebe448a (diff)
downloadopenshift-670fc1cff44bd0ad82c0dd2748c5c028f0f304ed.tar.gz
openshift-670fc1cff44bd0ad82c0dd2748c5c028f0f304ed.tar.bz2
openshift-670fc1cff44bd0ad82c0dd2748c5c028f0f304ed.tar.xz
openshift-670fc1cff44bd0ad82c0dd2748c5c028f0f304ed.zip
Use haproxy frontend port for os_firewall.
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"