commit
36e8683cf5
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Delete node
|
||||
command: kubectl delete node {{ item }}
|
||||
command: "{{ bin_dir}}/kubectl delete node {{ item }}"
|
||||
with_items:
|
||||
- "{{ node.split(',') | default(groups['kube-node']) }}"
|
||||
delegate_to: "{{ groups['kube-master']|first }}"
|
||||
|
|
Loading…
Reference in New Issue