bootstrap-os for remove-node (#6154)
parent
fb666c44b3
commit
c3b78c3255
|
@ -35,15 +35,14 @@
|
|||
gather_facts: no
|
||||
roles:
|
||||
- { role: kubespray-defaults }
|
||||
- { role: bootstrap-os, tags: bootstrap-os }
|
||||
- { role: remove-node/pre-remove, tags: pre-remove }
|
||||
|
||||
- name: Gather facts
|
||||
import_playbook: facts.yml
|
||||
|
||||
- hosts: "{{ node | default('kube-node') }}"
|
||||
gather_facts: no
|
||||
roles:
|
||||
- { role: kubespray-defaults }
|
||||
- { role: bootstrap-os, tags: bootstrap-os }
|
||||
- { role: remove-node/remove-etcd-node}
|
||||
- { role: reset, tags: reset, when: reset_nodes|default(True) }
|
||||
|
||||
|
@ -52,4 +51,5 @@
|
|||
gather_facts: no
|
||||
roles:
|
||||
- { role: kubespray-defaults }
|
||||
- { role: bootstrap-os, tags: bootstrap-os}
|
||||
- { role: remove-node/post-remove, tags: post-remove }
|
||||
|
|
Loading…
Reference in New Issue