parent
6fe2248314
commit
46f6c09d21
1 changed files with 2 additions and 2 deletions
|
@ -34,14 +34,14 @@
|
|||
- { role: remove-node/pre-remove, tags: pre-remove }
|
||||
|
||||
- hosts: "{{ node | default('kube-node') }}"
|
||||
gather_facts: no
|
||||
gather_facts: yes
|
||||
roles:
|
||||
- { role: kubespray-defaults }
|
||||
- { role: reset, tags: reset, when: reset_nodes|default(True) }
|
||||
|
||||
# Currently cannot remove first master or etcd
|
||||
- hosts: "{{ node | default('kube-master[1:]:etcd[:1]') }}"
|
||||
gather_facts: no
|
||||
gather_facts: yes
|
||||
roles:
|
||||
- { role: kubespray-defaults }
|
||||
- { role: remove-node/post-remove, tags: post-remove }
|
||||
|
|
Loading…
Reference in a new issue