summaryrefslogtreecommitdiffstats
path: root/roles/openshift_manage_node
diff options
context:
space:
mode:
authorDiego Castro <spinolacastro@gmail.com>2015-08-09 12:40:28 -0300
committerDiego Castro <spinolacastro@gmail.com>2015-08-10 10:31:52 -0300
commitc17efa0172a11f79cb28d3c5740b7c16ed70c3b8 (patch)
treedfbfb2fa081e8860aea13a0d3c0d2a11031b2ab5 /roles/openshift_manage_node
parent6be237602331e88a330c1f46d31aeb97d9af1aa2 (diff)
downloadopenshift-c17efa0172a11f79cb28d3c5740b7c16ed70c3b8.tar.gz
openshift-c17efa0172a11f79cb28d3c5740b7c16ed70c3b8.tar.bz2
openshift-c17efa0172a11f79cb28d3c5740b7c16ed70c3b8.tar.xz
openshift-c17efa0172a11f79cb28d3c5740b7c16ed70c3b8.zip
Fix node labels
Diffstat (limited to 'roles/openshift_manage_node')
-rw-r--r--roles/openshift_manage_node/tasks/main.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/roles/openshift_manage_node/tasks/main.yml b/roles/openshift_manage_node/tasks/main.yml
index 257bcee2c..c488af723 100644
--- a/roles/openshift_manage_node/tasks/main.yml
+++ b/roles/openshift_manage_node/tasks/main.yml
@@ -19,7 +19,6 @@
- name: Label nodes
command: >
- {{ openshift.common.client_binary }} label --overwrite node {{ item.0 }} {{ item.1 | oo_combine_dict }}
- with_nested:
- - openshift_nodes
- - openshift_node_labels
+ {{ openshift.common.client_binary }} label --overwrite node {{ item }} {{ hostvars[item]['openshift_node_labels'] | oo_combine_dict }}
+ with_items:
+ - "{{ openshift_nodes }}"