c12s-kubespray/roles/remove-node/post-remove/tasks/main.yml
2020-07-20 07:26:51 -07:00

5 lines
No EOL
199 B
YAML

---
- name: Delete node
command: "{{ bin_dir }}/kubectl delete node {{ kube_override_hostname|default(inventory_hostname) }}"
delegate_to: "{{ groups['kube-master']|first }}"
ignore_errors: yes