feeb701c13
* respect kube_override_hostname during removal/upgrade * Use hostvars in loop
5 lines
200 B
YAML
5 lines
200 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
|