summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-02-09 16:18:07 +0100
committerLénaïc Huard <lhuard@amadeus.com>2016-02-09 17:37:39 +0100
commitf0e74d8407006d8ae2a0c068dd1ccc2ac67ffcfb (patch)
tree59a0b6aee5146f163ff51cc936e016c79947e160 /playbooks/openstack
parentd148f0a39665d7528b854515257aa45ec6739230 (diff)
downloadopenshift-f0e74d8407006d8ae2a0c068dd1ccc2ac67ffcfb.tar.gz
openshift-f0e74d8407006d8ae2a0c068dd1ccc2ac67ffcfb.tar.bz2
openshift-f0e74d8407006d8ae2a0c068dd1ccc2ac67ffcfb.tar.xz
openshift-f0e74d8407006d8ae2a0c068dd1ccc2ac67ffcfb.zip
Fix issue when there are no infra nodes
Diffstat (limited to 'playbooks/openstack')
-rw-r--r--playbooks/openstack/openshift-cluster/cluster_hosts.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/openstack/openshift-cluster/cluster_hosts.yml b/playbooks/openstack/openshift-cluster/cluster_hosts.yml
index 1023f3ec1..ca87bc655 100644
--- a/playbooks/openstack/openshift-cluster/cluster_hosts.yml
+++ b/playbooks/openstack/openshift-cluster/cluster_hosts.yml
@@ -12,6 +12,6 @@ g_master_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_master'] | de
g_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_node'] | default([])) }}"
-g_infra_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_infra']) | default([]) }}"
+g_infra_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_infra'] | default([])) }}"
-g_compute_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_compute']) | default([]) }}"
+g_compute_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_compute'] | default([])) }}"