summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-10-04 17:20:07 -0400
committerGitHub <noreply@github.com>2016-10-04 17:20:07 -0400
commit91809982259a63a1b7065dd2c503d94b5ca66c2a (patch)
tree7244ae08a3182d7fa41f49563e64576b205fb762 /playbooks/common
parentb31bcfb37e8740cea894eb60877d688bc3df2922 (diff)
parent21891653d3b287e6d78082ee03f878de415f16de (diff)
downloadopenshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.tar.gz
openshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.tar.bz2
openshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.tar.xz
openshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.zip
Merge pull request #2511 from vishpat/nuage_ha
Changes for Nuage HA
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-loadbalancer/config.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/playbooks/common/openshift-loadbalancer/config.yml b/playbooks/common/openshift-loadbalancer/config.yml
index f4392173a..e3567552e 100644
--- a/playbooks/common/openshift-loadbalancer/config.yml
+++ b/playbooks/common/openshift-loadbalancer/config.yml
@@ -1,5 +1,16 @@
---
- name: Configure load balancers
hosts: oo_lb_to_config
+ vars:
+ openshift_loadbalancer_frontends: "{{ (openshift_master_api_port | default(8843)
+ | oo_openshift_loadbalancer_frontends(hostvars | oo_select_keys(groups['oo_masters']),
+ openshift_use_nuage | default(false),
+ nuage_mon_rest_server_port | default(none)))
+ + openshift_loadbalancer_additional_frontends | default([]) }}"
+ openshift_loadbalancer_backends: "{{ (openshift_master_api_port | default(8843)
+ | oo_openshift_loadbalancer_backends(hostvars | oo_select_keys(groups['oo_masters']),
+ openshift_use_nuage | default(false),
+ nuage_mon_rest_server_port | default(none)))
+ + openshift_loadbalancer_additional_backends | default([]) }}"
roles:
- role: openshift_loadbalancer