summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt
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/libvirt
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/libvirt')
-rw-r--r--playbooks/libvirt/openshift-cluster/cluster_hosts.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/libvirt/openshift-cluster/cluster_hosts.yml b/playbooks/libvirt/openshift-cluster/cluster_hosts.yml
index 15690e3bf..5cc300bbf 100644
--- a/playbooks/libvirt/openshift-cluster/cluster_hosts.yml
+++ b/playbooks/libvirt/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([])) }}"