summaryrefslogtreecommitdiffstats
path: root/roles/openshift_router
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-10-22 01:11:25 -0400
committerAndrew Butcher <abutcher@redhat.com>2015-10-22 01:11:25 -0400
commitd121d8c208d4b5ea974f2f9d1ecf529f8fca7f44 (patch)
tree30e3d90ffe0bc8109ff42f707a9bdc15ffac975b /roles/openshift_router
parent9f3d3e9d0e697ce85620ac0a7a7c5eeba892f1d6 (diff)
downloadopenshift-d121d8c208d4b5ea974f2f9d1ecf529f8fca7f44.tar.gz
openshift-d121d8c208d4b5ea974f2f9d1ecf529f8fca7f44.tar.bz2
openshift-d121d8c208d4b5ea974f2f9d1ecf529f8fca7f44.tar.xz
openshift-d121d8c208d4b5ea974f2f9d1ecf529f8fca7f44.zip
Conditionally include openshift_router role.
Diffstat (limited to 'roles/openshift_router')
-rw-r--r--roles/openshift_router/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_router/tasks/main.yml b/roles/openshift_router/tasks/main.yml
index b88b020fe..498a65127 100644
--- a/roles/openshift_router/tasks/main.yml
+++ b/roles/openshift_router/tasks/main.yml
@@ -7,7 +7,7 @@
- name: Deploy OpenShift Router
command: >
{{ openshift.common.admin_binary }} router
- --create --replicas={{ num_infra }}
+ --create --replicas={{ openshift.master.infra_nodes }}
--service-account=router {{ _ortr_selector }}
--credentials={{ openshift_master_config_dir }}/openshift-router.kubeconfig {{ _ortr_images }}
register: _ortr_results