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 14:40:59 +08:00
delegate_to: "{{ groups['kube-master']|first }}"
run_once: true
ignore_errors: yes