From 4b347b84711fdf0906fa3a270f51c38c23fe247e Mon Sep 17 00:00:00 2001
From: Andrew Butcher <abutcher@redhat.com>
Date: Wed, 1 Jun 2016 12:05:36 -0400
Subject: Add haproxy_frontend_port to vars for openshift-loadbalancer.

---
 roles/openshift_loadbalancer/meta/main.yml | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'roles/openshift_loadbalancer/meta')

diff --git a/roles/openshift_loadbalancer/meta/main.yml b/roles/openshift_loadbalancer/meta/main.yml
index fe336acf7..96a737d2f 100644
--- a/roles/openshift_loadbalancer/meta/main.yml
+++ b/roles/openshift_loadbalancer/meta/main.yml
@@ -12,4 +12,9 @@ galaxy_info:
 dependencies:
 - role: openshift_facts
 - role: os_firewall
+  os_firewall_allow:
+  - service: haproxy stats
+    port: "9000/tcp"
+  - service: haproxy balance
+    port: "{{ haproxy_frontend_port }}/tcp"
 - role: openshift_repos
-- 
cgit v1.2.3