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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
4 deletions
-
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 |
|
|
|