2018-03-05 07:02:47 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Delete node
|
2019-05-02 21:24:21 +00:00
|
|
|
command: "{{ bin_dir }}/kubectl delete node {{ item }}"
|
2018-03-05 07:02:47 +00:00
|
|
|
with_items:
|
2018-06-29 05:15:29 +00:00
|
|
|
- "{{ node.split(',') | default(groups['kube-node']) }}"
|
2018-06-23 06:40:59 +00:00
|
|
|
delegate_to: "{{ groups['kube-master']|first }}"
|
|
|
|
run_once: true
|
2018-03-05 07:02:47 +00:00
|
|
|
ignore_errors: yes
|