summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-11-27 16:15:28 -0500
committerMichael Gugino <mgugino@redhat.com>2017-11-27 16:58:07 -0500
commitb9010d93f61600364b37b7fda772bca71f0a6bd3 (patch)
treef5277a38d1663e2d265176f6caf1dfbdabad0dd2 /playbooks
parente7e699a4201754fe9ccd1b9adffad5be5fff18b3 (diff)
downloadopenshift-b9010d93f61600364b37b7fda772bca71f0a6bd3.tar.gz
openshift-b9010d93f61600364b37b7fda772bca71f0a6bd3.tar.bz2
openshift-b9010d93f61600364b37b7fda772bca71f0a6bd3.tar.xz
openshift-b9010d93f61600364b37b7fda772bca71f0a6bd3.zip
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.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/openshift-node/private/manage_node.yml1
1 files changed, 1 insertions, 0 deletions
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 }}