Skip to content
Snippets Groups Projects
Unverified Commit e2a7f3e2 authored by Samuel Liu's avatar Samuel Liu Committed by GitHub
Browse files

remove-node roles: fix kubectl absolute path (#7469)

* kubelet absolute path

* kubelet absolute path
parent 5a351b4b
Branches
Tags
No related merge requests found
---
- name: remove-node | List nodes
command: kubectl get nodes -o go-template={% raw %}'{{ range .items }}{{ .metadata.name }}{{ "\n" }}{{ end }}'{% endraw %}
command: >-
{{ bin_dir }}/kubectl get nodes -o go-template={% raw %}'{{ range .items }}{{ .metadata.name }}{{ "\n" }}{{ end }}'{% endraw %}
register: nodes
delegate_to: "{{ groups['kube_control_plane']|first }}"
changed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment