kubespray/roles/remove-node/post-remove/tasks/main.yml

5 lines
211 B
YAML
Raw Normal View History

---
- name: Delete node # noqa 301
command: "{{ bin_dir }}/kubectl delete node {{ kube_override_hostname|default(inventory_hostname) }}"
2018-06-23 14:40:59 +08:00
delegate_to: "{{ groups['kube-master']|first }}"
2020-07-20 22:26:51 +08:00
ignore_errors: yes