6bb47d8adb
* add remove_node_ip * move remove_node_ip to remove etcd part * fix: remove tail space * fix: handle ubuntu: focal
5 lines
168 B
YAML
5 lines
168 B
YAML
---
|
|
- name: Delete node
|
|
command: "{{ bin_dir }}/kubectl delete node {{ inventory_hostname }}"
|
|
delegate_to: "{{ groups['kube-master']|first }}"
|
|
ignore_errors: yes
|