From a3e8299968664620b59e3e69dbe53a7a9a9b77f9 Mon Sep 17 00:00:00 2001 From: Geoff Newson Date: Wed, 7 Feb 2018 22:34:55 +0000 Subject: Changing the check for the number of etcd nodes --- playbooks/init/evaluate_groups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks') diff --git a/playbooks/init/evaluate_groups.yml b/playbooks/init/evaluate_groups.yml index e8bf1892c..1948557c6 100644 --- a/playbooks/init/evaluate_groups.yml +++ b/playbooks/init/evaluate_groups.yml @@ -51,7 +51,7 @@ upgrade please see https://docs.openshift.com/container-platform/latest/install_config/upgrading/migrating_embedded_etcd.html for documentation on how to migrate from embedded to external etcd. when: - - g_etcd_hosts | default([]) | length not in [5,3,1] + - g_etcd_hosts | default([]) | length == 0 - not (openshift_node_bootstrap | default(False)) - name: Evaluate oo_all_hosts -- cgit v1.2.3 From 16ae2ef84266dfdb1b9af493704579aeebc7284f Mon Sep 17 00:00:00 2001 From: Geoff Newson Date: Wed, 7 Feb 2018 22:46:37 +0000 Subject: Remove spaces introduced at the start of the line In making the initial change I introduce some spaces at the beginning of the line. Removing them. --- playbooks/init/evaluate_groups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks') diff --git a/playbooks/init/evaluate_groups.yml b/playbooks/init/evaluate_groups.yml index 1948557c6..81d7d63ca 100644 --- a/playbooks/init/evaluate_groups.yml +++ b/playbooks/init/evaluate_groups.yml @@ -51,7 +51,7 @@ upgrade please see https://docs.openshift.com/container-platform/latest/install_config/upgrading/migrating_embedded_etcd.html for documentation on how to migrate from embedded to external etcd. when: - - g_etcd_hosts | default([]) | length == 0 + - g_etcd_hosts | default([]) | length == 0 - not (openshift_node_bootstrap | default(False)) - name: Evaluate oo_all_hosts -- cgit v1.2.3