summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-08-13 16:15:44 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-08-13 21:44:54 -0400
commit65f9922028595c36eb10c8f43b4db51817d64c32 (patch)
tree1f6149994644d98c09c19a39dcb3d1281d3c14a3 /playbooks
parent1399425c70052445cc8659fd12cd19535fb95e5a (diff)
downloadopenshift-65f9922028595c36eb10c8f43b4db51817d64c32.tar.gz
openshift-65f9922028595c36eb10c8f43b4db51817d64c32.tar.bz2
openshift-65f9922028595c36eb10c8f43b4db51817d64c32.tar.xz
openshift-65f9922028595c36eb10c8f43b4db51817d64c32.zip
Fix for node labeling where internal node name != inventory_hostname
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-node/config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 4010b4c9e..705f7f223 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -128,9 +128,10 @@
vars:
openshift_nodes: "{{ hostvars
| oo_select_keys(groups['oo_nodes_to_config'])
- | oo_collect('openshift.common.hostname') }}"
+ | oo_collect('openshift.common.hostname') }}"
openshift_unscheduleable_nodes: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config'] | default([]))
| oo_collect('openshift.common.hostname', {'openshift_scheduleable': False}) }}"
+ openshift_node_vars: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config']) }}"
pre_tasks:
- set_fact:
openshift_scheduleable_nodes: "{{ hostvars