diff options
author | Diego Castro <spinolacastro@gmail.com> | 2015-08-04 11:10:35 -0300 |
---|---|---|
committer | Diego Castro <spinolacastro@gmail.com> | 2015-08-04 11:10:35 -0300 |
commit | b497f7a2a77c3ef1434a5f0bd11fccf9d81b44aa (patch) | |
tree | 012b76f4c8b828136b076f7dccbace9fb32e1016 /roles/openshift_manage_node | |
parent | bec613a2237df25164de03524414224779fcab4c (diff) | |
download | openshift-b497f7a2a77c3ef1434a5f0bd11fccf9d81b44aa.tar.gz openshift-b497f7a2a77c3ef1434a5f0bd11fccf9d81b44aa.tar.bz2 openshift-b497f7a2a77c3ef1434a5f0bd11fccf9d81b44aa.tar.xz openshift-b497f7a2a77c3ef1434a5f0bd11fccf9d81b44aa.zip |
Fix node labeling. Issue #305
Diffstat (limited to 'roles/openshift_manage_node')
-rw-r--r-- | roles/openshift_manage_node/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_manage_node/tasks/main.yml b/roles/openshift_manage_node/tasks/main.yml index d17f3f532..e64d6e713 100644 --- a/roles/openshift_manage_node/tasks/main.yml +++ b/roles/openshift_manage_node/tasks/main.yml @@ -16,3 +16,10 @@ command: > {{ openshift.common.admin_binary }} manage-node {{ item }} --schedulable=true with_items: openshift_scheduleable_nodes + +- name: Tag schedulable nodes + command: > + {{ openshift.common.client_binary }} label --overwrite node {{ item.0 }} {{ item.1 | oo_combine_dict }} + with_nested: + - openshift_scheduleable_nodes + - openshift_node_labels
\ No newline at end of file |