Skip to content

Commit

Permalink
Remove left over nodes_to_drain (kubernetes-sigs#7412)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Champetier <[email protected]>
  • Loading branch information
champtar authored and sakuraiyuta committed Apr 16, 2022
1 parent fc0cc25 commit 32b1271
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions roles/remove-node/pre-remove/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 32b1271

Please sign in to comment.