Browse Source

Remove left over nodes_to_drain (#7412)

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
pull/7422/head
Etienne Champetier 3 years ago
committed by GitHub
parent
commit
e381ce57e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions
  1. 4
      roles/remove-node/pre-remove/tasks/main.yml

4
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

Loading…
Cancel
Save