Browse Source

Merge pull request #1565 from lhuard1A/fix_when_no_infra

Fix issue when there are no infra nodes
Brenton Leanhardt 9 years ago
parent
commit
13d249446a

+ 1 - 1
playbooks/aws/openshift-cluster/cluster_hosts.yml

@@ -16,6 +16,6 @@ g_node_hosts:    "{{ g_all_hosts | intersect(groups['tag_host-type_node'] | defa
 
 g_new_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_new_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([])) }}"

+ 1 - 1
playbooks/gce/openshift-cluster/cluster_hosts.yml

@@ -16,6 +16,6 @@ g_node_hosts:    "{{ g_all_hosts | intersect(groups['tag_host-type-node'] | defa
 
 g_new_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type-new-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([])) }}"

+ 1 - 1
playbooks/libvirt/openshift-cluster/cluster_hosts.yml

@@ -16,6 +16,6 @@ g_node_hosts:    "{{ g_all_hosts | intersect(groups['tag_host-type-node'] | defa
 
 g_new_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type-new-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([])) }}"

+ 1 - 1
playbooks/openstack/openshift-cluster/cluster_hosts.yml

@@ -16,6 +16,6 @@ g_node_hosts:    "{{ g_all_hosts | intersect(groups['tag_host-type_node'] | defa
 
 g_new_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_new_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([])) }}"