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

10 lines
204 B
YAML
Raw Normal View History

---
- name: Delete node
command: kubectl delete node {{ item }}
with_items:
- "{{ groups['kube-node'] }}"
2018-06-23 06:40:59 +00:00
delegate_to: "{{ groups['kube-master']|first }}"
run_once: true
ignore_errors: yes