From c0fb9d3cc016656a78e7ac077342e31eace622e5 Mon Sep 17 00:00:00 2001
From: Matyas Danter <mdanter@gmail.com>
Date: Wed, 17 Aug 2016 11:00:45 -0500
Subject: This fixes an issue in AWS where the master node was not part of the
 nodes in an unschedulable way

---
 playbooks/aws/openshift-cluster/config.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'playbooks')

diff --git a/playbooks/aws/openshift-cluster/config.yml b/playbooks/aws/openshift-cluster/config.yml
index 647c72239..05cfe7d6e 100644
--- a/playbooks/aws/openshift-cluster/config.yml
+++ b/playbooks/aws/openshift-cluster/config.yml
@@ -30,7 +30,7 @@
     openshift_hosted_router_selector: 'type=infra'
     openshift_node_labels:
       region: "{{ deployment_vars[deployment_type].region }}"
-      type: "{{ hostvars[inventory_hostname]['ec2_tag_sub-host-type'] if inventory_hostname in groups['tag_host-type_node'] else hostvars[inventory_hostname]['ec2_tag_host-type'] }}"
+      type: "{{ hostvars[inventory_hostname]['ec2_tag_sub-host-type'] }}"
     openshift_master_cluster_method: 'native'
     openshift_use_openshift_sdn: "{{ lookup('oo_option', 'use_openshift_sdn') }}"
     os_sdn_network_plugin_name: "{{ lookup('oo_option', 'sdn_network_plugin_name') }}"
-- 
cgit v1.2.3