summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-27 08:56:32 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-27 08:56:32 -0400
commit4b734695abf9ca112c9ad3be33f03fcd1a1e7abf (patch)
tree714787ea14ac8cc432b6357f37e6d38a9dadbdfa /roles/openshift_facts/library
parent7a189730b1b6dddbed174586afe752615e60d948 (diff)
parent57abf26c30e306d1527e92a61a94088e542bb006 (diff)
downloadopenshift-4b734695abf9ca112c9ad3be33f03fcd1a1e7abf.tar.gz
openshift-4b734695abf9ca112c9ad3be33f03fcd1a1e7abf.tar.bz2
openshift-4b734695abf9ca112c9ad3be33f03fcd1a1e7abf.tar.xz
openshift-4b734695abf9ca112c9ad3be33f03fcd1a1e7abf.zip
Merge pull request #1896 from abutcher/openshift-loadbalancer
Separate master and haproxy config playbooks.
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 6daaf6822..09b226671 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -1555,6 +1555,7 @@ class OpenShiftFacts(object):
'docker',
'etcd',
'hosted',
+ 'loadbalancer',
'master',
'node']
@@ -1774,6 +1775,13 @@ class OpenShiftFacts(object):
router=dict()
)
+ if 'loadbalancer' in roles:
+ loadbalancer = dict(frontend_port='8443',
+ default_maxconn='20000',
+ global_maxconn='20000',
+ limit_nofile='100000')
+ defaults['loadbalancer'] = loadbalancer
+
return defaults
def guess_host_provider(self):