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
No related branches found
No related tags found
No related merge requests found
--- ---
- 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: >-
{{ bin_dir }}/kubectl get nodes -o go-template={% raw %}'{{ range .items }}{{ .metadata.name }}{{ "\n" }}{{ end }}'{% endraw %}
register: nodes register: nodes
delegate_to: "{{ groups['kube_control_plane']|first }}" delegate_to: "{{ groups['kube_control_plane']|first }}"
changed_when: false changed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment