blob: 450209630e85c2e8f4a6af828489105437e101c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
---
- name: remove nodes from api server
run_once: true
delegate_to: "{{ groups['_kubernetes_primary_controlplane_node_'] | first }}"
loop: "{{ groups['_kubernetes_nodes_prune_'] | default([]) }}"
command: "kubectl delete node {{ item }}"
- name: prune network plugin
include_tasks: "net_{{ kubernetes_network_plugin }}.yml"
|