From 70c62ffe21b7b90c23a8a35d4d52c4e23091e421 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Thu, 8 Sep 2016 14:46:27 -0400 Subject: Iterate over node inventory hostnames instead of openshift.common.hostname within openshift_manage_node role. --- playbooks/common/openshift-node/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'playbooks') diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index 94c30e268..66eb293e5 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -156,9 +156,7 @@ - name: Set schedulability hosts: oo_first_master vars: - openshift_nodes: "{{ hostvars - | oo_select_keys(groups['oo_nodes_to_config']) - | oo_collect('openshift.common.hostname') }}" + openshift_nodes: "{{ groups.oo_nodes_to_config | default([]) }}" pre_tasks: # Necessary because when you're on a node that's also a master the master will be # restarted after the node restarts docker and it will take up to 60 seconds for -- cgit v1.2.3