From b9010d93f61600364b37b7fda772bca71f0a6bd3 Mon Sep 17 00:00:00 2001 From: Michael Gugino Date: Mon, 27 Nov 2017 16:15:28 -0500 Subject: remove schedulable from openshift_facts This commit removes schedulable from openshift_facts in favor of detecting whether or not a host is a master via inventory. --- playbooks/openshift-node/private/manage_node.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'playbooks/openshift-node') diff --git a/playbooks/openshift-node/private/manage_node.yml b/playbooks/openshift-node/private/manage_node.yml index f48a19a9c..121c54a3d 100644 --- a/playbooks/openshift-node/private/manage_node.yml +++ b/playbooks/openshift-node/private/manage_node.yml @@ -6,6 +6,7 @@ roles: - role: openshift_manage_node openshift_master_host: "{{ groups.oo_first_master.0 }}" + openshift_manage_node_is_master: "{{ ('oo_masters_to_config' in group_names) | bool }}" tasks: - name: Create group for deployment type group_by: key=oo_nodes_deployment_type_{{ openshift.common.deployment_type }} -- cgit v1.2.1