summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-06-30 16:54:12 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-06-30 16:54:12 -0400
commit93c2bf00cd766771455e82a3fb9fd56d1a1c8dd5 (patch)
tree8163b331d8263f1a70c4d87711dac146101b20e1 /playbooks/common/openshift-node
parentc967fe862dc78150d5b954d0cbc625e070ec6d77 (diff)
downloadopenshift-93c2bf00cd766771455e82a3fb9fd56d1a1c8dd5.tar.gz
openshift-93c2bf00cd766771455e82a3fb9fd56d1a1c8dd5.tar.bz2
openshift-93c2bf00cd766771455e82a3fb9fd56d1a1c8dd5.tar.xz
openshift-93c2bf00cd766771455e82a3fb9fd56d1a1c8dd5.zip
Using openshift.common.hostname instead of openshift_hostname for determining node scheduleability
Diffstat (limited to 'playbooks/common/openshift-node')
-rw-r--r--playbooks/common/openshift-node/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 0eec1ae61..2017a7156 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -141,12 +141,12 @@
vars:
openshift_unscheduleable_nodes: "{{ hostvars
| oo_select_keys(groups['oo_nodes_to_config'])
- | oo_collect('openshift_hostname', {'openshift_scheduleable': False}) }}"
+ | oo_collect('openshift.common.hostname', {'openshift_scheduleable': False}) }}"
pre_tasks:
- set_fact:
openshift_scheduleable_nodes: "{{ hostvars
| oo_select_keys(groups['oo_nodes_to_config'])
- | oo_collect('openshift_hostname')
+ | oo_collect('openshift.common.hostname')
| difference(openshift_unscheduleable_nodes) }}"
roles:
- openshift_manage_node