summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-18 18:03:33 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-20 10:31:41 -0400
commitbe00d3399795278ac799fab848918d5bd64a2c46 (patch)
treec11cf26d7043282f8cd8bc822458395bf04f81f5 /roles/openshift_hosted
parent3fccdb3e55a89597270e4ee2d9cdaf9dd66cb341 (diff)
downloadopenshift-be00d3399795278ac799fab848918d5bd64a2c46.tar.gz
openshift-be00d3399795278ac799fab848918d5bd64a2c46.tar.bz2
openshift-be00d3399795278ac799fab848918d5bd64a2c46.tar.xz
openshift-be00d3399795278ac799fab848918d5bd64a2c46.zip
Fix router selector fact migration and match multiple selectors when counting nodes.
Diffstat (limited to 'roles/openshift_hosted')
-rw-r--r--roles/openshift_hosted/tasks/router.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/router.yml b/roles/openshift_hosted/tasks/router.yml
index 6a36f74b2..4ccbf4430 100644
--- a/roles/openshift_hosted/tasks/router.yml
+++ b/roles/openshift_hosted/tasks/router.yml
@@ -32,6 +32,7 @@
{{ openshift.common.client_binary }} --api-version='v1' -o json
get nodes -n default --config={{ openshift.common.config_base }}/master/admin.kubeconfig
register: openshift_hosted_router_nodes_json
+ changed_when: false
when: openshift.hosted.router.replicas | default(None) == None
- name: Collect nodes matching router selector