summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-master
diff options
context:
space:
mode:
authorDenver Janke <denverjanke@gmail.com>2017-09-07 11:09:38 +1000
committerGitHub <noreply@github.com>2017-09-07 11:09:38 +1000
commit02bc3db0342cc924a389a6ed7598c8a6665c82c9 (patch)
tree6bde0767e2b9c6d73d617b76d1ebe33dacc9a510 /playbooks/byo/openshift-master
parente7320ee23086355aa45bcf4229008063d9bc5136 (diff)
downloadopenshift-02bc3db0342cc924a389a6ed7598c8a6665c82c9.tar.gz
openshift-02bc3db0342cc924a389a6ed7598c8a6665c82c9.tar.bz2
openshift-02bc3db0342cc924a389a6ed7598c8a6665c82c9.tar.xz
openshift-02bc3db0342cc924a389a6ed7598c8a6665c82c9.zip
Fix new_master or new_node fail check
Diffstat (limited to 'playbooks/byo/openshift-master')
-rw-r--r--playbooks/byo/openshift-master/scaleup.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/byo/openshift-master/scaleup.yml b/playbooks/byo/openshift-master/scaleup.yml
index e3ef704e5..755852017 100644
--- a/playbooks/byo/openshift-master/scaleup.yml
+++ b/playbooks/byo/openshift-master/scaleup.yml
@@ -1,7 +1,7 @@
---
- include: ../openshift-cluster/initialize_groups.yml
-- name: Ensure there are new_masters
+- name: Ensure there are new_masters or new_nodes
hosts: localhost
connection: local
become: no
@@ -13,7 +13,7 @@
add hosts to the new_masters and new_nodes host groups to add
masters.
when:
- - (g_new_master_hosts | default([]) | length == 0) or (g_new_node_hosts | default([]) | length == 0)
+ - (g_new_master_hosts | default([]) | length == 0) and (g_new_node_hosts | default([]) | length == 0)
- include: ../../common/openshift-cluster/std_include.yml