From c537e9599fc01dfeddb84cbcc52fa6991cb3ab27 Mon Sep 17 00:00:00 2001
From: Andrew Lau <andrew@andrewklau.com>
Date: Wed, 18 Jan 2017 21:28:01 +1100
Subject: Add containzerized haproxy option

---
 roles/openshift_loadbalancer/defaults/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'roles/openshift_loadbalancer/defaults')

diff --git a/roles/openshift_loadbalancer/defaults/main.yml b/roles/openshift_loadbalancer/defaults/main.yml
index d096019af..6190383b6 100644
--- a/roles/openshift_loadbalancer/defaults/main.yml
+++ b/roles/openshift_loadbalancer/defaults/main.yml
@@ -2,7 +2,7 @@
 haproxy_frontends:
 - name: main
   binds:
-  - "*:8443"
+  - "*:{{ openshift_master_api_port | default(8443) }}"
   default_backend: default
 
 haproxy_backends:
-- 
cgit v1.2.3