Remove left over nodes_to_drain (#7412)
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>pull/7422/head
parent
5dbce6a2bd
commit
e381ce57e2
|
@ -1,8 +1,4 @@
|
||||||
---
|
---
|
||||||
- name: remove-node | Set `nodes_to_drain` as empty list
|
|
||||||
set_fact:
|
|
||||||
nodes_to_drain: []
|
|
||||||
|
|
||||||
- name: remove-node | List nodes
|
- name: remove-node | List nodes
|
||||||
command: kubectl get nodes -o go-template={% raw %}'{{ range .items }}{{ .metadata.name }}{{ "\n" }}{{ end }}'{% endraw %}
|
command: kubectl get nodes -o go-template={% raw %}'{{ range .items }}{{ .metadata.name }}{{ "\n" }}{{ end }}'{% endraw %}
|
||||||
register: nodes
|
register: nodes
|
||||||
|
|
Loading…
Reference in New Issue