From 327a5b4d1fc27d7038f957a05c91cd4cdca33c7c Mon Sep 17 00:00:00 2001 From: dkorn Date: Wed, 27 Jul 2016 11:43:53 +0300 Subject: a-o-i: write missing openshift_node_labels --- utils/src/ooinstall/openshift_ansible.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/src') diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py index a41de7378..a63ada0be 100644 --- a/utils/src/ooinstall/openshift_ansible.py +++ b/utils/src/ooinstall/openshift_ansible.py @@ -211,6 +211,8 @@ def write_host(host, inventory, schedulable=None): if host.other_variables: for variable, value in host.other_variables.iteritems(): facts += " {}={}".format(variable, value) + if host.node_labels: + facts += ' openshift_node_labels="{}"'.format(host.node_labels) # Distinguish between three states, no schedulability specified (use default), # explicitly set to True, or explicitly set to False: -- cgit v1.2.1