From e381ce57e2041e4a2e7a23e3a619513e126048b4 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Mon, 29 Mar 2021 19:17:56 -0400 Subject: [PATCH] Remove left over nodes_to_drain (#7412) Signed-off-by: Etienne Champetier --- roles/remove-node/pre-remove/tasks/main.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/remove-node/pre-remove/tasks/main.yml b/roles/remove-node/pre-remove/tasks/main.yml index 24114f75c..a2e011aa2 100644 --- a/roles/remove-node/pre-remove/tasks/main.yml +++ b/roles/remove-node/pre-remove/tasks/main.yml @@ -1,8 +1,4 @@ --- -- name: remove-node | Set `nodes_to_drain` as empty list - set_fact: - nodes_to_drain: [] - - name: remove-node | List nodes command: kubectl get nodes -o go-template={% raw %}'{{ range .items }}{{ .metadata.name }}{{ "\n" }}{{ end }}'{% endraw %} register: nodes