From d0bc360275b94b666ebaeb687d8639bfaad3a85e Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Tue, 18 Oct 2016 06:07:24 -0700 Subject: Add node-labels to kubeletArguments * Node labels are parsed from openshift_node_labels if they exist --- roles/openshift_node/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/openshift_node/tasks') 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) }}" -- cgit v1.2.3