c12s-kubespray/roles/remove-node/post-remove/tasks/main.yml
2018-06-23 07:05:24 +00:00

9 lines
204 B
YAML

---
- name: Delete node
command: kubectl delete node {{ item }}
with_items:
- "{{ groups['kube-node'] }}"
delegate_to: "{{ groups['kube-master']|first }}"
run_once: true
ignore_errors: yes