9 lines
184 B
YAML
9 lines
184 B
YAML
|
---
|
||
|
|
||
|
- name: Delete node
|
||
|
command: kubectl delete node {{ item }}
|
||
|
with_items:
|
||
|
- "{{ groups['kube-node'] }}"
|
||
|
delegate_to: "{{ groups['kube-master'][0] }}"
|
||
|
ignore_errors: yes
|