summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorTim Bielawa <timbielawa@gmail.com>2016-10-25 07:02:53 -0700
committerGitHub <noreply@github.com>2016-10-25 07:02:53 -0700
commit70a68bc2f948f7ad527867c702396182bb9323e8 (patch)
treeda0c8ce2084130c89a89dd39974ca7f91321993a /roles/openshift_node
parent85381f27fb953be2a2edc54991c4ae0556f5cc5f (diff)
parentd0bc360275b94b666ebaeb687d8639bfaad3a85e (diff)
downloadopenshift-70a68bc2f948f7ad527867c702396182bb9323e8.tar.gz
openshift-70a68bc2f948f7ad527867c702396182bb9323e8.tar.bz2
openshift-70a68bc2f948f7ad527867c702396182bb9323e8.tar.xz
openshift-70a68bc2f948f7ad527867c702396182bb9323e8.zip
Merge pull request #2615 from tbielawa/node-labels-fix
Set node-labels in kubeletArguments
Diffstat (limited to 'roles/openshift_node')
-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) }}"