|
|
@ -5,7 +5,7 @@ |
|
|
|
ansible_ssh_pipelining: true |
|
|
|
gather_facts: true |
|
|
|
|
|
|
|
- hosts: etcd:k8s-cluster:vault:calico-rr |
|
|
|
- hosts: "{{ node | default('etcd:k8s-cluster:vault:calico-rr') }}" |
|
|
|
vars_prompt: |
|
|
|
name: "delete_nodes_confirmation" |
|
|
|
prompt: "Are you sure you want to delete nodes state? Type 'yes' to delete nodes." |
|
|
@ -22,7 +22,7 @@ |
|
|
|
roles: |
|
|
|
- { role: remove-node/pre-remove, tags: pre-remove } |
|
|
|
|
|
|
|
- hosts: kube-node |
|
|
|
- hosts: "{{ node | default('kube-node') }}" |
|
|
|
roles: |
|
|
|
- { role: kubespray-defaults } |
|
|
|
- { role: reset, tags: reset } |
|
|
|