summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-10-18 06:07:24 -0700
committerTim Bielawa <tbielawa@redhat.com>2016-10-20 08:30:59 -0700
commitd0bc360275b94b666ebaeb687d8639bfaad3a85e (patch)
tree623b5eb6c74a2ae221d149a41d2c440c473887dd /roles/openshift_node/tasks
parentb4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2 (diff)
downloadopenshift-d0bc360275b94b666ebaeb687d8639bfaad3a85e.tar.gz
openshift-d0bc360275b94b666ebaeb687d8639bfaad3a85e.tar.bz2
openshift-d0bc360275b94b666ebaeb687d8639bfaad3a85e.tar.xz
openshift-d0bc360275b94b666ebaeb687d8639bfaad3a85e.zip
Add node-labels to kubeletArguments
* Node labels are parsed from openshift_node_labels if they exist
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 1de63ecc3..8b3145785 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -9,6 +9,10 @@
role: "{{ item.role }}"
local_facts: "{{ item.local_facts }}"
with_items:
+ # Reset node labels to an empty dictionary.
+ - role: node
+ local_facts:
+ labels: {}
- role: node
local_facts:
annotations: "{{ openshift_node_annotations | default(none) }}"